Crate drizzle_core

Crate drizzle_core 

Source
Expand description

Drizzle Core - SQL generation library

§no_std Support

This crate supports no_std environments with an allocator:

# With std (default)
drizzle-core = "0.1"

# no_std with allocator
drizzle-core = { version = "0.1", default-features = false, features = ["alloc"] }

Re-exports§

pub use builder::BuilderInit;
pub use builder::ExecutableState;
pub use builder::OrderByClause;
pub use dialect::DialectExt;
pub use join::Join;
pub use join::JoinType;
pub use param::OwnedParam;
pub use param::Param;
pub use param::ParamBind;
pub use schema::OrderBy;
pub use sql::OwnedSQL;
pub use sql::OwnedSQLChunk;
pub use sql::SQL;
pub use sql::SQLChunk;
pub use sql::Token;
pub use placeholder::*;
pub use traits::*;

Modules§

builder
dialect
Dialect type re-exported from drizzle-types with core-specific extensions.
error
Error types for drizzle-core
expr
Type-safe SQL expression system.
helpers
join
Join types and helper macros for SQL JOIN operations
param
placeholder
prepared
schema
sql
traits
Core traits for SQL generation.
types
SQL data type markers for compile-time type safety.

Macros§

impl_join_helpers
Macro to generate join helper functions for a specific dialect.
impl_try_from_int
Generates TryFrom implementations for multiple integer types that delegate to i64.

Enums§

Dialect
Re-export the unified Dialect enum from drizzle-types SQL dialect for database-specific behavior