Trait QueryEach

Source
pub trait QueryEach<F>
where F: FnMut(&mut ResultRow<'_, '_>) -> SqliteResult<()>,
{ // Required method fn query_each( &mut self, values: &[&dyn ToSql], each_row: &mut F, ) -> SqliteResult<()>; }
Expand description

Mix in query_each() convenience function.

Required Methods§

Source

fn query_each( &mut self, values: &[&dyn ToSql], each_row: &mut F, ) -> SqliteResult<()>

Process rows from a query after binding parameters.

Implementors§

Source§

impl<F> QueryEach<F> for PreparedStatement
where F: FnMut(&mut ResultRow<'_, '_>) -> SqliteResult<()>,