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

Required Associated Types

Required Methods

The method to perform a query on a Model

Implementors