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

Method ParseWithInt

pkg/sql/parser/parse.go:71–73  ·  view source on GitHub ↗

ParseWithInt parses a sql statement string and returns a list of Statements. The INT token will result in the specified TInt type.

(sql string, nakedIntType *types.T)

Source from the content-addressed store, hash-verified

69// ParseWithInt parses a sql statement string and returns a list of
70// Statements. The INT token will result in the specified TInt type.
71func (p *Parser) ParseWithInt(sql string, nakedIntType *types.T) (statements.Statements, error) {
72 return p.parseWithDepth(1, sql, nakedIntType, discardComments)
73}
74
75func (p *Parser) parseOneWithInt(
76 sql string, nakedIntType *types.T, comments commentsMode,

Callers

nothing calls this directly

Calls 1

parseWithDepthMethod · 0.95

Tested by

no test coverage detected