Struct sea_orm::entity::prelude::QueryResult
source · pub struct QueryResult { /* private fields */ }
Expand description
Defines the result of a query operation on a Model
Implementations§
source§impl 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§
source§impl Debug for QueryResult
impl Debug for QueryResult
source§impl From<MySqlRow> for QueryResult
impl From<MySqlRow> for QueryResult
source§fn from(row: MySqlRow) -> QueryResult
fn from(row: MySqlRow) -> QueryResult
Converts to this type from the input type.
source§impl From<PgRow> for QueryResult
impl From<PgRow> for QueryResult
source§fn from(row: PgRow) -> QueryResult
fn from(row: PgRow) -> QueryResult
Converts to this type from the input type.
source§impl From<SqliteRow> for QueryResult
impl From<SqliteRow> for QueryResult
source§fn from(row: SqliteRow) -> QueryResult
fn from(row: SqliteRow) -> QueryResult
Converts to this type from the input type.