Lines Matching refs:query_row
373 pub fn query_row<T, P, F>(&mut self, params: P, f: F) -> Result<T> in query_row() method
983 .query_row("SELECT y FROM test WHERE x = 'one'", NO_PARAMS, |row| { in test_unbound_parameters_are_null()
1034 .query_row("SELECT x FROM test WHERE y = 'two'", NO_PARAMS, |row| { in test_unbound_parameters_are_reused()
1117 let y: Result<i64> = stmt.query_row(&[1i32], |r| r.get(0)); in test_query_row()
1130 let y: Result<i64> = stmt.query_row(NO_PARAMS, |r| r.get("y")); in test_query_by_column_name()
1143 let y: Result<i64> = stmt.query_row(NO_PARAMS, |r| r.get("y")); in test_query_by_column_name_ignore_case()
1160 db.query_row( in test_bind_parameters()
1168 db.query_row("SELECT ?1, ?2, ?3", &data, |row| row.get::<_, u8>(0)) in test_bind_parameters()
1170 db.query_row("SELECT ?1, ?2, ?3", data.as_slice(), |row| { in test_bind_parameters()
1174 db.query_row("SELECT ?1, ?2, ?3", data, |row| row.get::<_, u8>(0)) in test_bind_parameters()
1182 db.query_row("SELECT ?1, ?2, ?3", &data, |row| row.get::<_, String>(0)) in test_bind_parameters()
1186 db.query_row("SELECT ?1, ?2, ?3", &data, |row| row.get::<_, u8>(0)) in test_bind_parameters()
1188 db.query_row("SELECT ?1, ?2, ?3", data.iter(), |row| row.get::<_, u8>(0)) in test_bind_parameters()
1236 .query_row("SELECT x FROM foo", NO_PARAMS, |row| row.get(0)) in test_utf16_conversion()
1246 .query_row("SELECT ?", &[&expected], |row| row.get(0)) in test_nul_byte()