read_table_batch

Function read_table_batch 

Source
pub fn read_table_batch(
    conn: &Connection,
    reader: &mut BatchedTableReader,
) -> Result<Option<Vec<HashMap<String, Value>>>>
Expand description

Read the next batch of rows from a table.

Uses rowid-based pagination for efficient batched reading. SQLite’s rowid is always present (even if not explicitly defined) and provides stable ordering for pagination.

§Arguments

  • conn - SQLite database connection
  • reader - Mutable batch reader state

§Returns

Some(rows) if there are more rows, None if exhausted.