Enum sea_orm::DatabaseBackend [−][src]
pub enum DatabaseBackend {
MySql,
Postgres,
Sqlite,
}
Expand description
The type of database backend for real world databases. This is enabled by feature flags as specified in the crate documentation
Variants
MySql
A MySQL backend
Postgres
A PostgreSQL backend
Sqlite
A SQLite backend
Implementations
Check if the URI is the same as the specified database backend. Returns true if they match.
Build an SQL Statement
A helper for building SQL queries
Check if the database supports RETURNING
syntax on insert and update
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DatabaseBackend
impl Send for DatabaseBackend
impl Sync for DatabaseBackend
impl Unpin for DatabaseBackend
impl UnwindSafe for DatabaseBackend
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more