Struct sea_orm::SelectModel
source · pub struct SelectModel<M>where
M: FromQueryResult,{ /* private fields */ }
Expand description
Defines a type to get a Model
Trait Implementations§
source§impl<M> Debug for SelectModel<M>where
M: FromQueryResult + Debug,
impl<M> Debug for SelectModel<M>where
M: FromQueryResult + Debug,
source§impl<M> SelectorTrait for SelectModel<M>where
M: FromQueryResult + Sized,
impl<M> SelectorTrait for SelectModel<M>where
M: FromQueryResult + Sized,
type Item = M
source§fn from_raw_query_result(res: QueryResult) -> Result<Self::Item, DbErr>
fn from_raw_query_result(res: QueryResult) -> Result<Self::Item, DbErr>
The method to perform a query on a Model