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

Function convertBoolean

internal/engine/postgresql/convert.go:633–640  ·  view source on GitHub ↗
(n *pg.Boolean)

Source from the content-addressed store, hash-verified

631}
632
633func convertBoolean(n *pg.Boolean) *ast.Boolean {
634 if n == nil {
635 return nil
636 }
637 return &ast.Boolean{
638 Boolval: n.Boolval,
639 }
640}
641
642func convertBooleanTest(n *pg.BooleanTest) *ast.BooleanTest {
643 if n == nil {

Callers 2

convertA_ConstFunction · 0.85
convertNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected