pub struct SqliteStatement<'a> { /* private fields */ }
Trait Implementations§
Source§impl Statement<'_> for SqliteStatement<'_>
impl Statement<'_> for SqliteStatement<'_>
fn add(&mut self) -> &mut Selfwhere
Self: Sized,
fn bind_index<T>(&mut self, index: u32, value: T) -> &mut Selfwhere
Self: Sized,
fn bind_name<T>(&mut self, name: &str, value: T) -> &mut Selfwhere
Self: Sized,
fn bind_null_index(&mut self, index: u32) -> &mut Selfwhere
Self: Sized,
fn bind_null_name(&mut self, name: &str) -> &mut Selfwhere
Self: Sized,
fn execute<T: SQLResult>(&self) -> Result<T>where
Self: Sized,
Source§fn return_generated_values(&mut self, columns: &[&str]) -> &mut Selfwhere
Self: Sized,
fn return_generated_values(&mut self, columns: &[&str]) -> &mut Selfwhere
Self: Sized,
Configures Statement to return the generated values from any rows created by this
Statement in the SQLResult returned from [execute()].
If no columns are specified, implementations are free to choose which columns
will be returned.
If called multiple times, only the columns requested in the final invocation will be returned. Read more
Source§fn fetch_size(&mut self, rows: u32) -> &mut Selfwhere
Self: Sized,
fn fetch_size(&mut self, rows: u32) -> &mut Selfwhere
Self: Sized,
Configures Statement to retrieve a fixed number of rows when fetching results from a
query instead deriving fetch size from back pressure.
If called multiple times, only the fetch size configured in the final invocation
will be applied.
If the value specified is zero, then the hint is ignored.
The default implementation of this method is a no op and the default value is zero.
Auto Trait Implementations§
impl<'a> !Freeze for SqliteStatement<'a>
impl<'a> !RefUnwindSafe for SqliteStatement<'a>
impl<'a> !Send for SqliteStatement<'a>
impl<'a> !Sync for SqliteStatement<'a>
impl<'a> Unpin for SqliteStatement<'a>
impl<'a> !UnwindSafe for SqliteStatement<'a>
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