Home
last modified time | relevance | path

Searched refs:execute_named (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/rusqlite/src/
Dstatement.rs92 pub fn execute_named(&mut self, params: &[(&str, &dyn ToSql)]) -> Result<usize> { in execute_named() method
850 db.execute_named("INSERT INTO foo(x) VALUES (:x)", &[(":x", &1i32)]) in test_execute_named()
855 db.execute_named("INSERT INTO foo(x) VALUES (:x)", &[(":x", &2i32)]) in test_execute_named()
881 stmt.execute_named(&[(":name", &"one")]).unwrap(); in test_stmt_execute_named()
980 stmt.execute_named(&[(":x", &"one")]).unwrap(); in test_unbound_parameters_are_null()
1030 stmt.execute_named(&[(":x", &"one")]).unwrap(); in test_unbound_parameters_are_reused()
1031 stmt.execute_named(&[(":y", &"two")]).unwrap(); in test_unbound_parameters_are_reused()
Dlib.rs519 pub fn execute_named(&self, sql: &str, params: &[(&str, &dyn ToSql)]) -> Result<usize> { in execute_named() method
522 .and_then(|_| stmt.execute_named(params)) in execute_named()