Searched refs:query_row_and_then (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/rusqlite/src/ |
D | lib.rs | 620 pub fn query_row_and_then<T, E, P, F>(&self, sql: &str, params: P, f: F) -> Result<T, E> in query_row_and_then() method 1709 let results: CustomResult<String> = db.query_row_and_then(query, NO_PARAMS, |row| { in test_query_row_and_then_custom_error() 1726 let bad_type: CustomResult<f64> = db.query_row_and_then(query, NO_PARAMS, |row| { in test_query_row_and_then_custom_error_fails() 1735 let bad_idx: CustomResult<String> = db.query_row_and_then(query, NO_PARAMS, |row| { in test_query_row_and_then_custom_error_fails() 1745 db.query_row_and_then(query, NO_PARAMS, |_| Err(CustomError::SomeError)); in test_query_row_and_then_custom_error_fails()
|
/external/rust/crates/rusqlite/ |
D | Changelog.md | 112 * BREAKING CHANGE: The closure passed to `query_row`, `query_row_and_then`, `query_row_safe`, 230 * Add `query_row_and_then` and `query_and_then` convenience functions. These are analogous to
|