pub trait FromSqlRow {
    type Out;
    fn from_sql_row(
        &mut self,
        row: &Row<'_>,
        idx: &mut ColumnIndex
    ) -> Result<Self::Out>; fn from_start_of_row(&mut self, row: &Row<'_>) -> Result<Self::Out> { ... } }
Expand description

A factory to make a FromSqlRow::Out from a rusqlite::Row using [FromSqlRow::/rom_start_of_row]. For example &[T] (where T implements FromSqlRow) also implements FromSqlRow where FromSqlRow::Out = Vec<<T as FromSqlRow>::Out>

Associated Types

Required methods

Provided methods

Implementations on Foreign Types

You might want [Query<&dyn ToSql>::count] instead?

Implementors