Type Alias DbConn
pub type DbConn = DatabaseConnection;
Expand description
The same as a DatabaseConnection
Aliased Type§
enum DbConn {
SqlxSqlitePoolConnection(SqlxSqlitePoolConnection),
Disconnected,
}
Variants§
SqlxSqlitePoolConnection(SqlxSqlitePoolConnection)
Create a SQLite database connection and pool
Disconnected
The connection to the database has been severed