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

Function ParseOneWithInt

pkg/sql/parser/parse.go:262–267  ·  view source on GitHub ↗

ParseOneWithInt is similar to ParseOn but interprets the INT and SERIAL types as the provided integer type.

(
	sql string, nakedIntType *types.T,
)

Source from the content-addressed store, hash-verified

260// ParseOneWithInt is similar to ParseOn but interprets the INT and SERIAL
261// types as the provided integer type.
262func ParseOneWithInt(
263 sql string, nakedIntType *types.T,
264) (statements.Statement[tree.Statement], error) {
265 var p Parser
266 return p.parseOneWithInt(sql, nakedIntType, discardComments)
267}
268
269// ParseQualifiedTableName parses a possibly qualified table name. The
270// table name must contain one or more name parts, using the full

Callers 2

ParseOneFunction · 0.85
parseExprsWithIntFunction · 0.85

Calls 1

parseOneWithIntMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…