cat_gateway::db::index::queries

Function session_execute_iter

Source
pub(crate) async fn session_execute_iter<P>(
    session: Arc<Session>,
    prepared_stmt: &PreparedStatement,
    params: P,
) -> Result<QueryPager>
where P: SerializeRow,
Expand description

Executes a select query with the given parameters.

Returns an iterator that iterates over all the result pages that the query returns.