mod auto_extension;
pub(crate) mod backend;
pub(crate) mod connection;
pub mod expression;
mod function_behavior;
pub mod pragma;
pub mod query_builder;
mod types;
pub use self::auto_extension::cancel_auto_extension;
pub use self::auto_extension::register_auto_extension;
pub use self::auto_extension::reset_auto_extension;
pub use self::backend::{Sqlite, SqliteType};
pub use self::connection::AutoVacuumMode;
pub use self::connection::BusyDecision;
pub use self::connection::CommitDecision;
pub use self::connection::ProgressDecision;
pub use self::connection::SerializedDatabase;
pub use self::connection::SqliteBindValue;
pub use self::connection::SqliteConnection;
pub use self::connection::SqliteLimit;
pub use self::connection::SqliteTraceEvent;
pub use self::connection::SqliteTraceFlags;
pub use self::connection::SqliteValue;
pub use self::connection::WalCheckpointMode;
pub use self::connection::WalCheckpointOutcome;
pub use self::connection::authorizer;
pub use self::connection::borrowed_connection::BorrowedSqliteConnection;
pub use self::connection::sqlite_blob::SqliteReadOnlyBlob;
pub use self::connection::{AuthorizerContext, AuthorizerDecision};
pub use self::connection::{CollationNeededContext, SqliteTextRep};
#[cfg(feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes")]
pub use self::connection::{
OwnedSqliteBindValue, SqliteBindCollector, SqliteBindCollectorData, SqliteBindValueRef,
};
pub use self::connection::{
SqliteChangeEvent, SqliteChangeOp, SqliteChangeOps, SqliteUpdateRouter,
};
#[cfg(feature = "__sqlite-shared")]
pub use self::function_behavior::SqliteFunctionBehavior;
pub use self::query_builder::SqliteQueryBuilder;
pub trait SqliteAggregateFunction<Args>: Default {
type Output;
fn step(&mut self, args: Args);
fn finalize(aggregator: Option<Self>) -> Self::Output;
}
pub mod sql_types {
#[doc(inline)]
pub use super::types::Timestamptz;
#[cfg(feature = "__sqlite-shared")]
#[doc(inline)]
pub use super::types::JsonValidFlags;
}
#[cfg(feature = "__sqlite-shared")]
pub use self::types::JsonValidFlag;