MCPcopy Index your code
hub / github.com/kisielk/sqlstruct / ScanAliased

Function ScanAliased

sqlstruct.go:187–189  ·  view source on GitHub ↗

ScanAliased works like scan, except that it expects the results in the query to be prefixed by the given alias. For example, if scanning to a field named "name" with an alias of "user" it will expect to find the result in a column named "user_name". See ColumnAliased for a convenient way to genera

(dest interface{}, rows Rows, alias string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestScanAliasedFunction · 0.85

Calls 1

doScanFunction · 0.85

Tested by 1

TestScanAliasedFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…