MCPcopy
hub / github.com/sqlc-dev/sqlc / ColumnExpr

Method ColumnExpr

internal/compiler/selector.go:14–14  ·  view source on GitHub ↗

ColumnExpr generates output to be used in a `SELECT ...` or `RETURNING ...` statement based on input column name and metadata.

(name string, column *Column)

Source from the content-addressed store, hash-verified

12 // ColumnExpr generates output to be used in a `SELECT ...` or `RETURNING
13 // ...` statement based on input column name and metadata.
14 ColumnExpr(name string, column *Column) string
15}
16
17// defaultSelector is a selector implementation that does the simpliest possible

Callers 2

expandStmtMethod · 0.65
TestSelectorFunction · 0.65

Implementers 2

defaultSelectorinternal/compiler/selector.go
sqliteSelectorinternal/compiler/selector.go

Calls

no outgoing calls

Tested by 1

TestSelectorFunction · 0.52