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

pub trait LoadQuery<Conn, U>: RunQueryDsl<Conn> {
    fn internal_load(self, conn: &mut 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: &mut Conn) -> QueryResult<Vec<U>>[src]

Load this query

Loading content...


impl<Conn, T, U> LoadQuery<Conn, U> for T where
    Conn: Connection,
    T: AsQuery + RunQueryDsl<Conn>,
    T::Query: QueryFragment<Conn::Backend> + QueryId,
    T::SqlType: CompatibleType<U, Conn::Backend>,
    Conn::Backend: QueryMetadata<T::SqlType>,
    U: FromSqlRow<<T::SqlType as CompatibleType<U, Conn::Backend>>::SqlType, Conn::Backend>, 

Loading content...