Trait diesel::query_dsl::methods::SelectNullableDsl

source ·
pub trait SelectNullableDsl {
    type Output;

    // Required method
    fn nullable(self) -> Self::Output;
Expand description

The nullable method

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

Required Associated Types§


type Output

The return type of nullable

Required Methods§


fn nullable(self) -> Self::Output

See the trait documentation



impl<'a, ST, QS, DB, GB> SelectNullableDsl for BoxedSelectStatement<'a, ST, QS, DB, GB>
where ST: IntoNullable,


type Output = BoxedSelectStatement<'a, <ST as IntoNullable>::Nullable, QS, DB>


impl<F, S, D, W, O, LOf, G, H> SelectNullableDsl for SelectStatement<F, SelectClause<S>, D, W, O, LOf, G, H>


type Output = SelectStatement<F, SelectClause<Nullable<S>>, D, W, O, LOf, G, H>