Macro scyllax::match_rows

source ·
macro_rules! match_rows {
    ($res:ident, $type:ty) => { ... };
}
Expand description

Take a QueryResult and return a Result<Vec<T>> Example:

match_rows!(res, OrgEntity)