MCPcopy Create free account
hub / github.com/kisielk/sqlstruct / ColumnsAliased

Function ColumnsAliased

sqlstruct.go:204–211  ·  view source on GitHub ↗

ColumnsAliased works like Columns except it prefixes the resulting column name with the given alias. For each field in the given struct it will generate a statement like: alias.field AS alias_field It is intended to be used in conjunction with the ScanAliased function.

(s interface{}, alias string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestColumnsAliasedFunction · 0.85

Calls 1

colsFunction · 0.85

Tested by 1

TestColumnsAliasedFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…