#[cfg(any(
feature = "sqlite",
feature = "postgresql",
feature = "mysql",
feature = "mssql"
))]
pub mod connection_pool;
pub mod common_helpers;
#[macro_use]
pub mod macros;
#[cfg(any(
feature = "sqlite",
feature = "postgresql",
feature = "mysql",
feature = "mssql"
))]
pub mod stream_connection;
#[cfg(any(
feature = "sqlite",
feature = "postgresql",
feature = "mysql",
feature = "mssql"
))]
pub use stream_connection::StreamConnection;
#[cfg(any(
feature = "sqlite",
feature = "postgresql",
feature = "mysql",
feature = "mssql"
))]
mod unified;
#[cfg(any(
feature = "sqlite",
feature = "postgresql",
feature = "mysql",
feature = "mssql"
))]
pub use unified::{
AggregateFuture, CollectFuture, CreateTableExecutor, Database, DeleteExecutor,
DropTableExecutor, GroupedCollectFuture, GroupedSelectExecutor, InsertExecutor,
InsertOrUpdateExecutor, LeftJoinCollectFuture, LeftJoinedSelectExecutor, MappedCollectFuture,
MappedSelectExecutor, ModelCollectWithFuture, RelatedCollectFuture, RelatedSelectExecutor,
SelectExecutor, SelectStream, SelectStreamIterator, Transaction, TransactionInsertExecutor,
TransactionInsertOrUpdateExecutor, UpdateExecutor,
};
#[cfg(any(
feature = "sqlite",
feature = "postgresql",
feature = "mysql",
feature = "mssql"
))]
pub use connection_pool::{ConnectionPool, PooledConnection};