teaql-sql
SQL compiler support for TeaQL Rust.
teaql-sql turns TeaQL query and mutation models from teaql-core into
parameterized SQL plus bind values. Dialect-specific syntax is supplied by a
SqlDialect implementation, such as PostgreSQL or SQLite.
What It Provides
SqlDialecttrait- compiled query and mutation structures
- select SQL compilation
- insert, update, delete, and recover SQL compilation
- DDL helpers for schema creation and missing-column migration
- debug SQL rendering with inlined values for diagnostics
Example
use ;
use ;
Most applications should use teaql-runtime; use teaql-sql directly when
building a custom executor, dialect, or SQL inspection tool.