rusticx-sql 1.0.0

Shared SQL dialect compiler (DDL + DML) for the Rusticx multi-database ORM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Shared SQL dialect compiler for Rusticx ORM.
//!
//! This crate translates database-agnostic [`QueryBuilder`] and [`TableSchema`]
//! values into parameterized SQL strings. It is used internally by
//! `rusticx-postgres` and `rusticx-mysql` and is not part of the public API.
//!
//! [`QueryBuilder`]: rusticx_core::query::QueryBuilder
//! [`TableSchema`]: rusticx_core::model::TableSchema

pub mod compiler;
pub mod dialect;

pub use compiler::SqlCompiler;
pub use dialect::{MysqlDialect, PostgresDialect, SqlDialect, UpsertSyntax};