Function serialize_rows

Source
pub fn serialize_rows<T, R>(data: &QueryData<R>) -> Value
where T: for<'r> FromRow<'r, R> + Serialize, R: Row,
Expand description

Serialize SQL rows to json by mapping them to an intermediate data model structure