Discover Packages
github.com/electwix/db-catalyst
internal
parser
package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Jun 11, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package parser provides a high-level SQL parser with functional options.
Option configures a Parser using the functional options pattern.
WithDebug enables or disables debug mode for the parser.
WithMaxErrors sets the maximum number of errors to collect before stopping.
Parser parses SQL DDL statements and produces a schema catalog.
NewParser creates a new Parser with the provided functional options.
Parse parses the provided SQL input and returns a catalog of schema objects.
It respects context cancellation and will return an error if the context is cancelled.
Source Files
¶
Directories
¶
Package grammars defines SQL dialect grammars.
Package grammars defines SQL dialect grammars.
languages
graphql
Package graphql implements a GraphQL schema parser.
Package graphql implements a GraphQL schema parser.
Click to show internal directories.
Click to hide internal directories.