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

Function convertFloat

internal/engine/postgresql/convert.go:1584–1591  ·  view source on GitHub ↗
(n *pg.Float)

Source from the content-addressed store, hash-verified

1582}
1583
1584func convertFloat(n *pg.Float) *ast.Float {
1585 if n == nil {
1586 return nil
1587 }
1588 return &ast.Float{
1589 Str: n.Fval,
1590 }
1591}
1592
1593func convertFromExpr(n *pg.FromExpr) *ast.FromExpr {
1594 if n == nil {

Callers 2

convertA_ConstFunction · 0.85
convertNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected