Macro scyllax::match_row

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

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

match_row!(res, OrgEntity)