pub trait AsExpressionList<ST> {
type Expression;
// Required method
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