pub struct SqliteDriver { /* private fields */ }
Expand description
The SQLite driver
Implementations§
Trait Implementations§
Source§impl Driver for Sqlite
impl Driver for Sqlite
Source§fn ensure_migration_table_exists(&mut self)
fn ensure_migration_table_exists(&mut self)
A fn that will create a migration table if it doesn’t exist
Otherwise do nothing
Source§fn remove_migration_table(&mut self)
fn remove_migration_table(&mut self)
A fn that will delete migration table
Source§fn get_current_number(&mut self) -> i32
fn get_current_number(&mut self) -> i32
Get the current migration number from the database
Source§fn set_current_number(&mut self, number: i32)
fn set_current_number(&mut self, number: i32)
Set the current migration number in the database
Auto Trait Implementations§
impl !Freeze for Sqlite
impl !RefUnwindSafe for Sqlite
impl Send for Sqlite
impl !Sync for Sqlite
impl Unpin for Sqlite
impl UnwindSafe for Sqlite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more