From ae1583ba04dce8f0f862d3f5aae5b39c9b15ecea Mon Sep 17 00:00:00 2001 From: Anton Vella Date: Fri, 15 Nov 2024 14:28:51 +0100 Subject: [PATCH] or method too --- diesel/src/expression_methods/bool_expression_methods.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/diesel/src/expression_methods/bool_expression_methods.rs b/diesel/src/expression_methods/bool_expression_methods.rs index e6357c37d515..ef4610243126 100644 --- a/diesel/src/expression_methods/bool_expression_methods.rs +++ b/diesel/src/expression_methods/bool_expression_methods.rs @@ -92,6 +92,7 @@ pub trait BoolExpressionMethods: Expression + Sized { Self::SqlType: SqlType, ST: SqlType + TypedExpressionType, T: AsExpression, + ::SqlType: BoolOrNullableBool, Or: Expression, { Grouped(Or::new(self, other.as_expression()))