[][src]Trait diesel::query_dsl::methods::LoadQuery

pub trait LoadQuery<Conn, U>: RunQueryDsl<Conn> {
    fn internal_load(self, conn: &Conn) -> QueryResult<Vec<U>>;
}

The load method

This trait should not be relied on directly by most apps. Its behavior is provided by RunQueryDsl. However, you may need a where clause on this trait to call load from generic code.

Required methods

fn internal_load(self, conn: &Conn) -> QueryResult<Vec<U>>

Load this query

Loading content...

Implementors

impl<Conn, T, Query, '_> LoadQuery<Conn, T> for BoxedSqlQuery<'_, Conn::Backend, Query> where
    Conn: Connection,
    T: QueryableByName<Conn::Backend>,
    Self: QueryFragment<Conn::Backend> + QueryId
[src]

impl<Conn, T, U> LoadQuery<Conn, U> for T where
    Conn: Connection,
    Conn::Backend: HasSqlType<T::SqlType>,
    T: AsQuery + RunQueryDsl<Conn>,
    T::Query: QueryFragment<Conn::Backend> + QueryId,
    U: Queryable<T::SqlType, Conn::Backend>, 
[src]

impl<Inner, Conn, T> LoadQuery<Conn, T> for SqlQuery<Inner> where
    Conn: Connection,
    T: QueryableByName<Conn::Backend>,
    Self: QueryFragment<Conn::Backend>, 
[src]

Loading content...