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.
pub fn decode<'r, T>(row: &'r DatabaseRow, field: &str) -> Result<T, Error>where
T: Decode<'r, DatabaseDriver>,
orm-sqlx
only.Decodes a single value as T
for the field in a row.