zino_orm

Function decode_array

Source
pub fn decode_array<'r, T>(
    row: &'r DatabaseRow,
    field: &str,
) -> Result<Vec<T>, Error>
where T: Decode<'r, DatabaseDriver> + FromStr, <T as FromStr>::Err: Error + Send + 'static,
Available on crate feature orm-sqlx only.
Expand description

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