MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Parse

Method Parse

postgres/parser/parser/parse.go:109–111  ·  view source on GitHub ↗

Parse parses the sql and returns a list of statements.

(sql string)

Source from the content-addressed store, hash-verified

107
108// Parse parses the sql and returns a list of statements.
109func (p *Parser) Parse(sql string) (Statements, error) {
110 return p.parseWithDepth(1, sql, defaultNakedIntType)
111}
112
113// ParseWithInt parses a sql statement string and returns a list of
114// Statements. The INT token will result in the specified TInt type.

Callers 15

ApplyTemplateMethod · 0.45
MakeCertsFunction · 0.45
TestMainFunction · 0.45
parseMethod · 0.45
NewColumnTableDefFunction · 0.45
TypeCheckMethod · 0.45
mainFunction · 0.45
parseArgsFunction · 0.45
getDefaultExprFunction · 0.45
cachePgAttributesFunction · 0.45
age.goFile · 0.45
convertTzToOffsetSecsFunction · 0.45

Calls 1

parseWithDepthMethod · 0.95

Tested by 2

MakeCertsFunction · 0.36
TestMainFunction · 0.36