use crate::database::RullstDatabase;
pub type Transaction<'a> = sqlx::Transaction<'a, RullstDatabase>;
#[cfg(not(any(
feature = "strict-postgres",
feature = "strict-mysql",
feature = "strict-sqlite"
)))]
pub type Pool = sqlx::AnyPool;
#[cfg(feature = "strict-postgres")]
pub type Pool = sqlx::PgPool;
#[cfg(all(feature = "strict-mysql", not(feature = "strict-postgres")))]
pub type Pool = sqlx::MySqlPool;
#[cfg(all(
feature = "strict-sqlite",
not(feature = "strict-postgres"),
not(feature = "strict-mysql")
))]
pub type Pool = sqlx::SqlitePool;