[][src]Struct diesel::query_builder::BoxedSqlQuery

#[must_use =
  "Queries are only executed when calling `load`, `get_result`, or similar."]pub struct BoxedSqlQuery<'f, DB: Backend, Query> { /* fields omitted */ }

See SqlQuery::into_boxed.

Implementations

impl<'f, DB: Backend, Query> BoxedSqlQuery<'f, DB, Query>[src]

pub fn bind<BindSt, Value>(self, b: Value) -> Self where
    DB: HasSqlType<BindSt>,
    Value: ToSql<BindSt, DB> + 'f, 
[src]

pub fn sql<T: AsRef<str>>(self, sql: T) -> Self[src]

Trait Implementations

impl<DB, Q, '_> Query for BoxedSqlQuery<'_, DB, Q> where
    DB: Backend
[src]

type SqlType = Untyped

The SQL type that this query represents. Read more

impl<DB, Query, '_> QueryFragment<DB> for BoxedSqlQuery<'_, DB, Query> where
    DB: Backend,
    Query: QueryFragment<DB>, 
[src]

impl<DB: Backend, Query, '_> QueryId for BoxedSqlQuery<'_, DB, Query>[src]

type QueryId = ()

A type which uniquely represents Self in a SQL query. Read more

impl<Conn: Connection, Query, '_> RunQueryDsl<Conn> for BoxedSqlQuery<'_, Conn::Backend, Query>[src]

Auto Trait Implementations

impl<'f, DB, Query> !RefUnwindSafe for BoxedSqlQuery<'f, DB, Query>

impl<'f, DB, Query> !Send for BoxedSqlQuery<'f, DB, Query>

impl<'f, DB, Query> !Sync for BoxedSqlQuery<'f, DB, Query>

impl<'f, DB, Query> Unpin for BoxedSqlQuery<'f, DB, Query> where
    Query: Unpin

impl<'f, DB, Query> !UnwindSafe for BoxedSqlQuery<'f, DB, Query>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsQuery for T where
    T: Query
[src]

type SqlType = <T as Query>::SqlType

The SQL type of Self::Query

type Query = T

What kind of query does this type represent?

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
    Conn: Connection<Backend = DB>,
    DB: Backend,
    T: QueryFragment<DB> + QueryId
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

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

impl<T, Conn> RunQueryDsl<Conn> for T where
    T: Table
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]