1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

/// mysql
#[cfg(feature = "mysql")]
pub use crate::mysql::{
    MySql as DBType,
    MySqlConnection as DBConnection,
    MySqlPool as DBPool
};

/// pg
#[cfg(feature = "postgres")]
pub use crate::postgres::{
    Postgres as DBType,
    PgConnection as DBConnection,
    PgPool as DBPool
};

/// sqlite
#[cfg(feature = "sqlite")]
pub use crate::sqlite::{
    Sqlite as DBType,
    SqliteConnection as DBConnection,
    SqlitePool as DBPool
};