Struct easy_sqlite::MSQLConnection
source · pub struct MSQLConnection { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for MSQLConnection
impl Clone for MSQLConnection
source§fn clone(&self) -> MSQLConnection
fn clone(&self) -> MSQLConnection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl IConnection for MSQLConnection
impl IConnection for MSQLConnection
source§impl IExecutor for MSQLConnection
impl IExecutor for MSQLConnection
fn get_one<T, F: FnMut(&Row<'_>) -> Result<T>>( &self, query: &str, params: &[&dyn ToSql], serializer: F ) -> DbResult<T>
fn get_many<T, F: FnMut(&Row<'_>) -> Result<T>>( &self, query: &str, params: &[&dyn ToSql], serializer: F ) -> DbResult<Vec<T>>
fn execute(&self, query: &str, params: &[&dyn ToSql]) -> DbResult<()>
fn execute_return_id(&self, query: &str, params: &[&dyn ToSql]) -> DbResult<i64>
Auto Trait Implementations§
impl RefUnwindSafe for MSQLConnection
impl Send for MSQLConnection
impl Sync for MSQLConnection
impl Unpin for MSQLConnection
impl UnwindSafe for MSQLConnection
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