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.
Associated Types
type Expression
type Expression
The final output expression
Required methods
fn as_expression_list(self) -> Self::Expression
fn as_expression_list(self) -> Self::Expression
Perform the conversion