MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Parse

Function Parse

pkg/sql/plpgsql/parser/parse.go:136–139  ·  view source on GitHub ↗

Parse parses a sql statement string and returns a list of Statements.

(sql string)

Source from the content-addressed store, hash-verified

134
135// Parse parses a sql statement string and returns a list of Statements.
136func Parse(sql string) (statements.PLpgStatement, error) {
137 var p Parser
138 return p.parseWithDepth(1, sql, defaultNakedIntType)
139}

Callers 1

makeDoStmtFunction · 0.70

Calls 1

parseWithDepthMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…