Trait diesel::expression::AsExpressionList
source · [−]pub trait AsExpressionList<ST> {
type Expression;
fn as_expression_list(self) -> Self::Expression;
}
Expand description
Converts a tuple of values into a tuple of Diesel expressions.
This trait is similar to AsExpression
, but it operates on tuples.
The expressions must all be of the same SQL type.
Required Associated Types
sourcetype Expression
type Expression
The final output expression
Required Methods
sourcefn as_expression_list(self) -> Self::Expression
fn as_expression_list(self) -> Self::Expression
Perform the conversion