//! SQL Query Layer for Synor Database.
//!
//! Provides SQLite-compatible query interface:
//!
//! - DDL: CREATE TABLE, DROP TABLE, ALTER TABLE
//! - DML: SELECT, INSERT, UPDATE, DELETE
//! - Clauses: WHERE, ORDER BY, LIMIT, GROUP BY
//! - Joins: INNER, LEFT, RIGHT JOIN
//! - Functions: COUNT, SUM, AVG, MIN, MAX

pub mod executor;
pub mod parser;
pub mod row;
pub mod table;
pub mod transaction;
pub mod types;

pub use executor::{QueryResult, SqlEngine};
pub use parser::SqlParser;
pub use row::{Row, RowId};
pub use table::{ColumnDef, Table, TableDef};
pub use transaction::{Transaction, TransactionId, TransactionState};
pub use types::{SqlError, SqlType, SqlValue};
