Struct libsql_sys::statement::Statement
source · pub struct Statement {
pub raw_stmt: *mut sqlite3_stmt,
/* private fields */
}
Fields§
§raw_stmt: *mut sqlite3_stmt
Implementations§
source§impl Statement
impl Statement
pub fn finalize(&self)
pub fn bind_null(&self, idx: i32)
pub fn bind_int64(&self, idx: i32, value: i64)
pub fn bind_double(&self, idx: i32, value: f64)
pub fn bind_text(&self, idx: i32, value: &[u8])
pub fn bind_blob(&self, idx: i32, value: &[u8])
pub fn step(&self) -> c_int
pub fn reset(&self) -> c_int
pub fn column_count(&self) -> i32
pub fn column_value(&self, idx: i32) -> Value
pub fn column_type(&self, idx: i32) -> i32
pub fn column_name(&self, idx: i32) -> Option<&str>
pub fn column_origin_name(&self, idx: i32) -> Option<&str>
pub fn column_table_name(&self, idx: i32) -> Option<&str>
pub fn column_database_name(&self, idx: i32) -> Option<&str>
pub fn column_decltype(&self, idx: i32) -> Option<&str>
pub fn bind_parameter_index(&self, name: &str) -> i32
pub fn bind_parameter_count(&self) -> usize
pub fn bind_parameter_name(&self, index: i32) -> Option<&str>
pub fn get_status(&self, status: i32) -> i32
pub fn is_explain(&self) -> i32
pub fn readonly(&self) -> bool
pub fn tail(&self) -> usize
Trait Implementations§
impl Send for Statement
impl Sync for Statement
Auto Trait Implementations§
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