zino_orm

Function decode

Source
pub fn decode<'r, T>(row: &'r DatabaseRow, field: &str) -> Result<T, Error>
where T: Decode<'r, DatabaseDriver>,
Available on crate feature orm-sqlx only.
Expand description

Decodes a single value as T for the field in a row.