Lines Matching refs:rows

26 //! zero or more rows in the tables `blobentry` and `keyparameter`.
139 let mut rows =
141 db_utils::with_rows_extract_all(&mut rows, |row| {
214 let mut rows =
216 db_utils::with_rows_extract_all(&mut rows, |row| {
1165 let rows = stmt
1176 rows.collect::<Result<Vec<(i64, Vec<u8>)>, rusqlite::Error>>()
1215 /// returns the number of rows affected. If this returns a value greater than 0, it means that
1370 let mut rows = stmt
1374 db_utils::with_rows_extract_one(&mut rows, |row| {
1735 let mut rows = stmt
1743 let key_id = db_utils::with_rows_extract_one(&mut rows, |row| {
1872 let rows = stmt
1884 Ok(rows).no_gc()
1996 let rows = stmt
2004 let total = rows.len() as i32;
2005 for (alias, domain) in rows {
2053 let rows = stmt
2066 if rows.is_empty() {
2068 } else if rows.len() != 3 {
2074 rows.len()
2080 for row in rows {
2218 .context(format!("Update succeeded, but {} rows were updated.", updated));
2359 let mut rows = stmt
2362 db_utils::with_rows_extract_one(&mut rows, |row| {
2417 let mut rows = stmt
2421 db_utils::with_rows_extract_one(&mut rows, |row| {
2445 let mut rows = stmt
2448 db_utils::with_rows_extract_one(&mut rows, |row| {
2504 let mut rows =
2511 db_utils::with_rows_extract_all(&mut rows, |row| {
2560 let mut rows =
2562 db_utils::with_rows_extract_all(&mut rows, |row| {
2908 let mut rows = stmt
2924 db_utils::with_rows_extract_all(&mut rows, |row| {
3005 let mut rows = stmt
3010 db_utils::with_rows_extract_all(&mut rows, |row| {
3019 .context("In list: Failed to extract rows.")?;
3291 let mut rows = stmt.query(NO_PARAMS)?;
3292 assert_eq!(DateTime::try_from(then)?, rows.next()?.unwrap().get(0)?);
3293 assert_eq!(DateTime::try_from(now)?, rows.next()?.unwrap().get(0)?);
3294 assert_eq!(DateTime::try_from(soon)?, rows.next()?.unwrap().get(0)?);
3295 assert!(rows.next()?.is_none());
3556 // We expect 9 rows here because there are three blobs per attestation key, i.e.,
3815 let mut rows =
3825 let r = rows.next().unwrap().unwrap();
3827 let r = rows.next().unwrap().unwrap();
3829 assert!(rows.next().is_none());
3866 let mut rows = stmt
3870 let (r, id) = rows.next().unwrap().unwrap();
3872 let (r, _) = rows.next().unwrap().unwrap();
3874 let (r, _) = rows.next().unwrap().unwrap();
3877 drop(rows);
5364 let rows = stmt.query_map::<(i64, KeyType, i32, i64, String, KeyLifeCycle, Uuid), _, _>(
5379 println!("Key entry table rows:");
5380 for r in rows {
5394 let rows = stmt.query_map::<(i64, i64, i64, i64), _, _>(NO_PARAMS, |row| {
5398 println!("Grant table rows:");
5399 for r in rows {