Trait diesel::LoadDsl [] [src]

pub trait LoadDsl: AsQuery + LimitDsl + Sized {
    fn load<U>(self, conn: &Connection) -> QueryResult<Cursor<Self::SqlType, U>> where U: Queriable<Self::SqlType> { ... }
    fn first<U>(self, conn: &Connection) -> QueryResult<Option<U>> where U: Queriable<Self::Output::SqlType> { ... }
}

Methods to execute a query given a connection. These are automatically implemented for the various query types.

Provided Methods

fn load<U>(self, conn: &Connection) -> QueryResult<Cursor<Self::SqlType, U>> where U: Queriable<Self::SqlType>

fn first<U>(self, conn: &Connection) -> QueryResult<Option<U>> where U: Queriable<Self::Output::SqlType>

Implementors