Trait diesel::query_dsl::methods::SingleValueDsl [−][src]
pub trait SingleValueDsl { type Output; fn single_value(self) -> Self::Output; }
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.
Associated Types
type Output
The type returned by .single_value
.
Required Methods
fn single_value(self) -> Self::Output
See the trait documentation.
Implementors
impl<T, ST> SingleValueDsl for T where
Self: SelectQuery<SqlType = ST> + LimitDsl,
ST: IntoNullable,
ST::Nullable: SingleValue, type Output = Grouped<Subselect<Limit<Self>, ST::Nullable>>;