internal/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2026 License: MIT

Directories

Path Synopsis
Package cache provides caching for parsed schemas and query ASTs.
Package cache provides caching for parsed schemas and query ASTs.
Package cli provides the command-line interface logic for db-catalyst.
Package cli provides the command-line interface logic for db-catalyst.
Package codegen orchestrates the generation of Go code from SQL.
Package codegen orchestrates the generation of Go code from SQL.
ast
Package ast provides types and logic for building Go ASTs.
Package ast provides types and logic for building Go ASTs.
render
Package render formats and writes generated Go code.
Package render formats and writes generated Go code.
rust
Package rust generates Rust code using text templates.
Package rust generates Rust code using text templates.
sql
Package sql generates SQL schema definitions from a database catalog.
Package sql generates SQL schema definitions from a database catalog.
typescript
Package typescript generates TypeScript code using text templates.
Package typescript generates TypeScript code using text templates.
Package config loads and validates the db-catalyst configuration.
Package config loads and validates the db-catalyst configuration.
Package diagnostics provides rich diagnostic information for db-catalyst.
Package diagnostics provides rich diagnostic information for db-catalyst.
Package engine defines the database engine abstraction layer.
Package engine defines the database engine abstraction layer.
builtin
Package builtin registers all built-in database engines.
Package builtin registers all built-in database engines.
mysql
Package mysql provides the MySQL database engine implementation.
Package mysql provides the MySQL database engine implementation.
postgres
Package postgres provides the PostgreSQL database engine implementation.
Package postgres provides the PostgreSQL database engine implementation.
sqlite
Package sqlite provides the SQLite database engine implementation.
Package sqlite provides the SQLite database engine implementation.
Package fileset handles file path resolution and glob expansion.
Package fileset handles file path resolution and glob expansion.
Package logging provides a configured slog logger for db-catalyst.
Package logging provides a configured slog logger for db-catalyst.
Package parser provides a high-level SQL parser with functional options.
Package parser provides a high-level SQL parser with functional options.
dialects
Package dialects implements SQL dialect parsers.
Package dialects implements SQL dialect parsers.
grammars
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.
Package pipeline orchestrates the entire code generation process.
Package pipeline orchestrates the entire code generation process.
query
analyzer
Package analyzer validates and resolves SQL queries against a schema catalog.
Package analyzer validates and resolves SQL queries against a schema catalog.
block
Package block handles the parsing of SQL query blocks.
Package block handles the parsing of SQL query blocks.
parser
Package parser implements a SQL parser for query validation and parameter extraction.
Package parser implements a SQL parser for query validation and parameter extraction.
schema
diagnostic
Package diagnostic provides shared types for schema parsing diagnostics.
Package diagnostic provides shared types for schema parsing diagnostics.
model
Package model defines normalized schema catalog types produced by the parser.
Package model defines normalized schema catalog types produced by the parser.
parser
Package parser implements a DDL parser for SQLite schemas.
Package parser implements a DDL parser for SQLite schemas.
parser/mysql
Package mysql provides SQL keyword constants for the MySQL parser.
Package mysql provides SQL keyword constants for the MySQL parser.
parser/postgres
Package postgres provides SQL keyword constants for the PostgreSQL parser.
Package postgres provides SQL keyword constants for the PostgreSQL parser.
tokenizer
Package tokenizer scans SQL source code into tokens.
Package tokenizer scans SQL source code into tokens.
Package sqlfix implements tools for automated SQL rewrites and migration.
Package sqlfix implements tools for automated SQL rewrites and migration.
overrides
Package overrides handles conversion of sqlc configuration overrides to db-catalyst format.
Package overrides handles conversion of sqlc configuration overrides to db-catalyst format.
sqlcconfig
Package sqlcconfig parses sqlc configuration files.
Package sqlcconfig parses sqlc configuration files.
Package transform handles custom type transformations.
Package transform handles custom type transformations.
Package types provides PostgreSQL-specific type mappings.
Package types provides PostgreSQL-specific type mappings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL