Trait sea_orm::entity::FromQueryResult[][src]

pub trait FromQueryResult {
    fn from_query_result(res: &QueryResult, pre: &str) -> Result<Self, DbErr>
    where
        Self: Sized
; fn from_query_result_optional(
        res: &QueryResult,
        pre: &str
    ) -> Result<Option<Self>, DbErr>
    where
        Self: Sized
, { ... } }

Required methods

Provided methods

Implementors