MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / defaultSelector

Struct defaultSelector

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

defaultSelector is a selector implementation that does the simpliest possible pass through when generating column expressions. Its use is suitable for all database engines not requiring additional customization.

Source from the content-addressed store, hash-verified

18// pass through when generating column expressions. Its use is suitable for all
19// database engines not requiring additional customization.
20type defaultSelector struct{}
21
22func newDefaultSelector() *defaultSelector {
23 return &defaultSelector{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected