fraiseql-db 2.16.0

Database abstraction layer for FraiseQL v2
Documentation
//! SQL dialect abstractions for WHERE clause generation.
//!
//! This module defines the [`SqlDialect`] trait and its PostgreSQL
//! implementation, [`PostgresDialect`] (the non-PostgreSQL dialects were
//! removed — G2 decision on #374).
//!
//! The generic [`GenericWhereGenerator`] is parameterised over any type that
//! implements `SqlDialect`, so dialect-specific primitives (identifier quoting,
//! JSON extraction, placeholder syntax, LIKE/ILIKE, …) can be swapped without
//! touching the visitor logic.
//!
//! [`GenericWhereGenerator`]: crate::where_generator::GenericWhereGenerator

// The trait lives in a sub-module so the `pub use` below re-exports it cleanly
// without polluting this module's item namespace with the internal `trait_def` name.
pub mod capability;
pub mod trait_def;

mod postgres;

pub use postgres::PostgresDialect;
pub use trait_def::{RowViewColumnType, SqlDialect, UnsupportedOperator};