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

Function convertString

internal/engine/postgresql/convert.go:2615–2622  ·  view source on GitHub ↗
(n *pg.String)

Source from the content-addressed store, hash-verified

2613}
2614
2615func convertString(n *pg.String) *ast.String {
2616 if n == nil {
2617 return nil
2618 }
2619 return &ast.String{
2620 Str: n.Sval,
2621 }
2622}
2623
2624func convertSubLink(n *pg.SubLink) *ast.SubLink {
2625 if n == nil {

Callers 3

convertA_ConstFunction · 0.85
convertNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected