Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
db-catalyst
command
Package main implements the db-catalyst CLI.
|
Package main implements the db-catalyst CLI. |
|
sqlfix
command
Package main implements the sqlfix tool for automated SQL rewrites.
|
Package main implements the sqlfix tool for automated SQL rewrites. |
|
sqlfix-sqlc
command
Package main implements the sqlfix-sqlc tool for migrating sqlc configurations.
|
Package main implements the sqlfix-sqlc tool for migrating sqlc configurations. |
|
examples
|
|
|
advanced
command
|
|
|
complex
command
|
|
|
internal
|
|
|
cache
Package cache provides caching for parsed schemas and query ASTs.
|
Package cache provides caching for parsed schemas and query ASTs. |
|
cli
Package cli provides the command-line interface logic for db-catalyst.
|
Package cli provides the command-line interface logic for db-catalyst. |
|
codegen
Package codegen orchestrates the generation of Go code from SQL.
|
Package codegen orchestrates the generation of Go code from SQL. |
|
codegen/ast
Package ast provides types and logic for building Go ASTs.
|
Package ast provides types and logic for building Go ASTs. |
|
codegen/render
Package render formats and writes generated Go code.
|
Package render formats and writes generated Go code. |
|
codegen/rust
Package rust generates Rust code using text templates.
|
Package rust generates Rust code using text templates. |
|
codegen/sql
Package sql generates SQL schema definitions from a database catalog.
|
Package sql generates SQL schema definitions from a database catalog. |
|
codegen/typescript
Package typescript generates TypeScript code using text templates.
|
Package typescript generates TypeScript code using text templates. |
|
config
Package config loads and validates the db-catalyst configuration.
|
Package config loads and validates the db-catalyst configuration. |
|
diagnostics
Package diagnostics provides rich diagnostic information for db-catalyst.
|
Package diagnostics provides rich diagnostic information for db-catalyst. |
|
fileset
Package fileset handles file path resolution and glob expansion.
|
Package fileset handles file path resolution and glob expansion. |
|
logging
Package logging provides a configured slog logger for db-catalyst.
|
Package logging provides a configured slog logger for db-catalyst. |
|
parser
Package parser provides a high-level SQL parser with functional options.
|
Package parser provides a high-level SQL parser with functional options. |
|
parser/dialects
Package dialects implements SQL dialect parsers.
|
Package dialects implements SQL dialect parsers. |
|
parser/grammars
Package grammars defines SQL dialect grammars.
|
Package grammars defines SQL dialect grammars. |
|
parser/languages/graphql
Package graphql implements a GraphQL schema parser.
|
Package graphql implements a GraphQL schema parser. |
|
pipeline
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. |
|
query/block
Package block handles the parsing of SQL query blocks.
|
Package block handles the parsing of SQL query blocks. |
|
query/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/model
Package model defines normalized schema catalog types produced by the parser.
|
Package model defines normalized schema catalog types produced by the parser. |
|
schema/parser
Package parser implements a DDL parser for SQLite schemas.
|
Package parser implements a DDL parser for SQLite schemas. |
|
schema/tokenizer
Package tokenizer scans SQL source code into tokens.
|
Package tokenizer scans SQL source code into tokens. |
|
sqlfix
Package sqlfix implements tools for automated SQL rewrites and migration.
|
Package sqlfix implements tools for automated SQL rewrites and migration. |
|
sqlfix/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. |
|
sqlfix/sqlcconfig
Package sqlcconfig parses sqlc configuration files.
|
Package sqlcconfig parses sqlc configuration files. |
|
transform
Package transform handles custom type transformations.
|
Package transform handles custom type transformations. |
|
types
Package types provides language-agnostic type representations and mappings between SQL types and programming language types.
|
Package types provides language-agnostic type representations and mappings between SQL types and programming language types. |
Click to show internal directories.
Click to hide internal directories.