Function serde_rusqlite::from_rows

source ·
pub fn from_rows<D: DeserializeOwned>(rows: Rows<'_>) -> DeserRows<'_, D> 
Expand description

Returns iterator that owns rusqlite::Rows and deserializes all records from it into instances of D: serde::Deserialize

Also see from_row() for some specific info.

This function covers most of the use cases and is easier to use than the alternative from_rows_ref().