Skip to main content

rusticx_sql/
lib.rs

1//! Shared SQL dialect compiler for Rusticx ORM.
2//!
3//! This crate translates database-agnostic [`QueryBuilder`] and [`TableSchema`]
4//! values into parameterized SQL strings. It is used internally by
5//! `rusticx-postgres` and `rusticx-mysql` and is not part of the public API.
6//!
7//! [`QueryBuilder`]: rusticx_core::query::QueryBuilder
8//! [`TableSchema`]: rusticx_core::model::TableSchema
9
10pub mod compiler;
11pub mod dialect;
12
13pub use compiler::SqlCompiler;
14pub use dialect::{MysqlDialect, PostgresDialect, SqlDialect, UpsertSyntax};