logo
pub trait SelectorTrait {
    type Item: Sized;
    fn from_raw_query_result(res: QueryResult) -> Result<Self::Item, DbErr>;
}
Expand description

A Trait for any type that can perform SELECT queries

Associated Types

Required methods

The method to perform a query on a Model

Implementors