pub struct CachedStatement<'connection> { /* private fields */ }Implementations§
Source§impl<'connection> CachedStatement<'connection>
impl<'connection> CachedStatement<'connection>
Methods from Deref<Target = Statement<'connection>>§
pub fn execute(&mut self, values: &[&dyn ToSql]) -> Result<(), DbError>
pub fn execute_named( &mut self, values: &[(&str, &dyn ToSql)], ) -> Result<(), DbError>
Sourcepub fn execute_text_text(
&mut self,
first: &str,
second: &str,
) -> Result<(), DbError>
pub fn execute_text_text( &mut self, first: &str, second: &str, ) -> Result<(), DbError>
Executes a two-TEXT statement without copying bound text into SQLite.
The text is bound with SQLITE_STATIC only for the duration of the
SQLite step and cleared before this function returns.
Sourcepub fn execute_i64_text(
&mut self,
first: i64,
second: &str,
) -> Result<(), DbError>
pub fn execute_i64_text( &mut self, first: i64, second: &str, ) -> Result<(), DbError>
Executes an INTEGER/TEXT statement without copying bound text into SQLite.
The text is bound with SQLITE_STATIC only for the duration of the
SQLite step and cleared before this function returns.
Sourcepub fn execute_i64_blob(
&mut self,
first: i64,
second: &[u8],
) -> Result<(), DbError>
pub fn execute_i64_blob( &mut self, first: i64, second: &[u8], ) -> Result<(), DbError>
Executes an INTEGER/BLOB statement without copying bound bytes into SQLite.
The blob is bound with SQLITE_STATIC only for the duration of the
SQLite step and cleared before this function returns.
Sourcepub fn execute_i64_i64_text(
&mut self,
first: i64,
second: i64,
third: &str,
) -> Result<(), DbError>
pub fn execute_i64_i64_text( &mut self, first: i64, second: i64, third: &str, ) -> Result<(), DbError>
Executes an INTEGER/INTEGER/TEXT statement without copying bound text into SQLite.
The text is bound with SQLITE_STATIC only for the duration of the
SQLite step and cleared before this function returns.