@@ -117,6 +117,12 @@ trait TypedExpression[A1,T1] extends ExpressionNode {
117117 def === [A2 ,T2 ](b : TypedExpression [A2 ,T2 ])(implicit ev : CanCompare [T1 , T2 ]) = new EqualityExpression (this , b)
118118 def <> [A2 ,T2 ](b : TypedExpression [A2 ,T2 ])(implicit ev : CanCompare [T1 , T2 ]) = new BinaryOperatorNodeLogicalBoolean (this , b, " <>" )
119119
120+ def === [A2 ,T2 ](q : Query [Measures [A2 ]])(implicit tef : TypedExpressionFactory [A2 ,T2 ], ev : CanCompare [T1 , T2 ]) =
121+ new BinaryOperatorNodeLogicalBoolean (this , q.copy(false ).ast, " =" )
122+
123+ def <> [A2 ,T2 ](q : Query [Measures [A2 ]])(implicit tef : TypedExpressionFactory [A2 ,T2 ], ev : CanCompare [T1 , T2 ]) =
124+ new BinaryOperatorNodeLogicalBoolean (this , q.copy(false ).ast, " =" )
125+
120126 def gt [A2 ,T2 ](b : TypedExpression [A2 ,T2 ])(implicit ev : CanCompare [T1 , T2 ]) = new BinaryOperatorNodeLogicalBoolean (this , b, " >" )
121127 def lt [A2 ,T2 ](b : TypedExpression [A2 ,T2 ])(implicit ev : CanCompare [T1 , T2 ]) = new BinaryOperatorNodeLogicalBoolean (this , b, " <" )
122128 def gte [A2 ,T2 ](b : TypedExpression [A2 ,T2 ])(implicit ev : CanCompare [T1 , T2 ]) = new BinaryOperatorNodeLogicalBoolean (this , b, " >=" )
0 commit comments