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

Function convertObjectWithArgs

internal/engine/postgresql/convert.go:1984–1993  ·  view source on GitHub ↗
(n *pg.ObjectWithArgs)

Source from the content-addressed store, hash-verified

1982}
1983
1984func convertObjectWithArgs(n *pg.ObjectWithArgs) *ast.ObjectWithArgs {
1985 if n == nil {
1986 return nil
1987 }
1988 return &ast.ObjectWithArgs{
1989 Objname: convertSlice(n.Objname),
1990 Objargs: convertSlice(n.Objargs),
1991 ArgsUnspecified: n.ArgsUnspecified,
1992 }
1993}
1994
1995func convertOnConflictClause(n *pg.OnConflictClause) *ast.OnConflictClause {
1996 if n == nil {

Callers 6

convertAlterFunctionStmtFunction · 0.85
convertAlterOperatorStmtFunction · 0.85
convertCreateCastStmtFunction · 0.85
convertCreateOpClassItemFunction · 0.85
convertNodeFunction · 0.85

Calls 1

convertSliceFunction · 0.85

Tested by

no test coverage detected