pub trait SingleValueDsl {
    type Output;

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

The single_value 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 single_value from generic code.

Required Associated Types§

source

type Output

The type returned by .single_value.

Required Methods§

source

fn single_value(self) -> Self::Output

See the trait documentation.

Implementors§

source§

impl<T> SingleValueDsl for Twhere Self: SelectQuery + LimitDsl, <Self as SelectQuery>::SqlType: IntoNullable,

§

type Output = Grouped<Subselect<<T as LimitDsl>::Output, <<T as SelectQuery>::SqlType as IntoNullable>::Nullable>>