[−][src]Trait diesel_helper::DbRunQuery
Methods used to execute queries.
Required methods
fn db_load<U>(self) -> QueryResult<Vec<U>> where
Self: LoadQuery<Connection, U>,
Self: LoadQuery<Connection, U>,
fn db_get_result<U>(self) -> QueryResult<U> where
Self: LoadQuery<Connection, U>,
Self: LoadQuery<Connection, U>,
fn db_get_results<U>(self) -> QueryResult<Vec<U>> where
Self: LoadQuery<Connection, U>,
Self: LoadQuery<Connection, U>,
fn db_execute(self) -> QueryResult<usize> where
Self: ExecuteDsl<Connection>,
Self: ExecuteDsl<Connection>,
fn db_first<U>(self) -> QueryResult<U> where
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,
fn db_first_opt<U>(self) -> QueryResult<Option<U>> where
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,
Implementors
impl<T: RunQueryDsl<Connection> + QueryFragment<Backend>> DbRunQuery for T
[src]
fn db_load<U>(self) -> QueryResult<Vec<U>> where
Self: LoadQuery<Connection, U>,
[src]
Self: LoadQuery<Connection, U>,
fn db_get_result<U>(self) -> QueryResult<U> where
Self: LoadQuery<Connection, U>,
[src]
Self: LoadQuery<Connection, U>,
fn db_get_results<U>(self) -> QueryResult<Vec<U>> where
Self: LoadQuery<Connection, U>,
[src]
Self: LoadQuery<Connection, U>,
fn db_execute(self) -> QueryResult<usize> where
Self: ExecuteDsl<Connection>,
[src]
Self: ExecuteDsl<Connection>,
fn db_first<U>(self) -> QueryResult<U> where
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,
[src]
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,
fn db_first_opt<U>(self) -> QueryResult<Option<U>> where
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,
[src]
Self: LimitDsl,
Limit<Self>: LoadQuery<Connection, U>,