Skip to main content

Crate qail

Crate qail 

Source

Modules§

ast
Abstract syntax tree types.
backup
Backup utilities for safe migrations.
branch
Branch management CLI commands — Data Virtualization
colors
Lightweight ANSI terminal colors — replaces the colored crate.
error
Error types. Error types for QAIL.
exec
Exec module - Execute QAIL AST for seeding/admin tasks
init
qail init - Project initialization
introspection
Database Schema Introspection
lint
Schema linting for best practices
migrations
Migration operations for QAIL CLI
parser
QAIL query parser. QAIL Parser using nom.
prelude
Common re-exports for convenient wildcard imports.
resolve
Centralized resolution for database URL and SSH tunnel config.
schema
Schema validation and diff operations
schema_tools
Modular schema tooling (qail schema ...).
shadow
Shadow Database (Blue-Green) Migrations
sql_gen
SQL generation utilities for migrations
sync
qail sync - Generate sync triggers from qail.toml
time
Lightweight timestamp formatting — replaces the chrono crate.
transpiler
SQL transpiler (AST to SQL). SQL Transpiler for QAIL AST.
types
Type-safe schema code generation CLI wrapper.
util
Utility functions for qail-cli

Functions§

parse
Parse a complete QAIL query string (v2 syntax only). Uses keyword-based syntax: get table fields * where col = value Also supports shorthand: get table[filter] desugars to get table where filter