pub type DbBackend = DatabaseBackend;
Expand description
The same as DatabaseBackend just shorter :)
Implementations
sourceimpl DbBackend
impl DbBackend
sourcepub fn is_prefix_of(self, base_url: &str) -> bool
pub fn is_prefix_of(self, base_url: &str) -> bool
Check if the URI is the same as the specified database backend. Returns true if they match.
sourcepub fn build<S>(&self, statement: &S) -> Statement where
S: StatementBuilder,
pub fn build<S>(&self, statement: &S) -> Statement where
S: StatementBuilder,
Build an SQL Statement
sourcepub fn get_query_builder(&self) -> Box<dyn QueryBuilder>
pub fn get_query_builder(&self) -> Box<dyn QueryBuilder>
A helper for building SQL queries
sourcepub fn support_returning(&self) -> bool
pub fn support_returning(&self) -> bool
Check if the database supports RETURNING
syntax on insert and update