MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / ParseOneStmt

Method ParseOneStmt

tidbparser/parser/yy_parser.go:116–126  ·  view source on GitHub ↗

ParseOneStmt parses a query and returns an ast.StmtNode. The query must have one statement, otherwise ErrSyntax is returned.

(sql, charset, collation string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ParseMethod · 0.95
SetFlagFunction · 0.92

Tested by

no test coverage detected