Struct sea_orm::QueryResult
source · pub struct QueryResult { /* private fields */ }
Expand description
Defines the result of a query operation on a Model
Implementations
sourceimpl QueryResult
impl QueryResult
sourcepub fn try_get<T>(&self, pre: &str, col: &str) -> Result<T, DbErr>where
T: TryGetable,
pub fn try_get<T>(&self, pre: &str, col: &str) -> Result<T, DbErr>where
T: TryGetable,
Get a Row from a Column
sourcepub fn try_get_many<T>(&self, pre: &str, cols: &[String]) -> Result<T, DbErr>where
T: TryGetableMany,
pub fn try_get_many<T>(&self, pre: &str, cols: &[String]) -> Result<T, DbErr>where
T: TryGetableMany,
Perform query operations on multiple Columns
Trait Implementations
sourceimpl Debug for QueryResult
impl Debug for QueryResult
sourceimpl From<MySqlRow> for QueryResult
impl From<MySqlRow> for QueryResult
sourcefn from(row: MySqlRow) -> QueryResult
fn from(row: MySqlRow) -> QueryResult
Converts to this type from the input type.
sourceimpl From<PgRow> for QueryResult
impl From<PgRow> for QueryResult
sourcefn from(row: PgRow) -> QueryResult
fn from(row: PgRow) -> QueryResult
Converts to this type from the input type.
sourceimpl From<SqliteRow> for QueryResult
impl From<SqliteRow> for QueryResult
sourcefn from(row: SqliteRow) -> QueryResult
fn from(row: SqliteRow) -> QueryResult
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for QueryResult
impl Send for QueryResult
impl Sync for QueryResult
impl Unpin for QueryResult
impl UnwindSafe for QueryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more