MCPcopy
hub / github.com/jmoiron/sqlx / MapScan

Method MapScan

sqlx.go:736–738  ·  view source on GitHub ↗

MapScan using this Rows.

(dest map[string]interface{})

Source from the content-addressed store, hash-verified

734
735// MapScan using this Rows.
736func (r *Row) MapScan(dest map[string]interface{}) error {
737 return MapScan(r, dest)
738}
739
740func (r *Row) scanAny(dest interface{}, structOnly bool) error {
741 if r.err != nil {

Callers 4

TestSelectSliceMapTimeFunction · 0.45
TestUsageFunction · 0.45
TestUsageContextFunction · 0.45

Calls 1

MapScanFunction · 0.85

Tested by 4

TestSelectSliceMapTimeFunction · 0.36
TestUsageFunction · 0.36
TestUsageContextFunction · 0.36