MCPcopy
hub / github.com/sqlc-dev/sqlc / Parse

Method Parse

internal/x/expander/expander.go:16–16  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

14// Parser is an interface for SQL parsers that can parse SQL into AST statements.
15type Parser interface {
16 Parse(r io.Reader) ([]ast.Statement, error)
17}
18
19// ColumnGetter retrieves column names for a query by preparing it against a database.

Callers 13

runFunction · 0.65
CreateDatabaseMethod · 0.65
parseQueryMethod · 0.65
parseCatalogMethod · 0.65
parseQueriesMethod · 0.65
ExpandMethod · 0.65
parse.goFile · 0.65
postgreSQLFunction · 0.65
parseMethod · 0.65
MySQLReformatURIFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 4

Parserinternal/engine/postgresql/parse.go
Parserinternal/engine/dolphin/parse.go
Parserinternal/engine/clickhouse/parse.go
Parserinternal/engine/sqlite/parse.go

Calls

no outgoing calls

Tested by

no test coverage detected