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

Function convertClusterStmt

internal/engine/postgresql/convert.go:736–744  ·  view source on GitHub ↗
(n *pg.ClusterStmt)

Source from the content-addressed store, hash-verified

734}
735
736func convertClusterStmt(n *pg.ClusterStmt) *ast.ClusterStmt {
737 if n == nil {
738 return nil
739 }
740 return &ast.ClusterStmt{
741 Relation: convertRangeVar(n.Relation),
742 Indexname: makeString(n.Indexname),
743 }
744}
745
746func convertCoalesceExpr(n *pg.CoalesceExpr) *ast.CoalesceExpr {
747 if n == nil {

Callers 1

convertNodeFunction · 0.85

Calls 2

convertRangeVarFunction · 0.85
makeStringFunction · 0.85

Tested by

no test coverage detected