@@ -61,16 +61,16 @@ module Squeal.PostgreSQL.Expression
6161 , true
6262 , false
6363 , not_
64− , (&&*)
65− , (||*)
64+ , (.&&)
65+ , (.||)
6666 , caseWhenThenElse
6767 , ifThenElse
68− , (==*)
69− , (/=*)
70− , (>=*)
71− , (*<)
72− , (*<=)
73− , (>*)
68+ , (.==)
69+ , (./=)
70+ , (.>=)
71+ , (.<)
72+ , (.<=)
73+ , (.>)
7474 -- ** Time
7575 , currentDate
7676 , currentTime
@@ -362,7 +362,7 @@ matchNull y f x = ifThenElse (isNull x) y
362362--
363363-- >>> :set -XTypeApplications -XDataKinds
364364-- >>> renderExpression @_ @_ @'[_] $ fromNull false (nullIf false (param @1))
365−-- "COALESCE(NULL IF (FALSE, FALSE), FALSE)"
365+-- "COALESCE(NULL IF (FALSE, ($1 :: bool)), FALSE)"
366366nullIf
367367 :: Expression tables grouping params ('Required ('NotNull ty))
368368 -> Expression tables grouping params ('Required ('NotNull ty))
@@ -526,17 +526,17 @@ not_
526526 -> Condition tables grouping params
527527not_ = unsafeUnaryOp "NOT"
528528
529−(&&*)
529+(.&&)
530530 :: Condition tables grouping params
531531 -> Condition tables grouping params
532532 -> Condition tables grouping params
533−(&&*) = unsafeBinaryOp "AND"
533+(.&&) = unsafeBinaryOp "AND"
534534
535−(||*)
535+(.||)
536536 :: Condition tables grouping params
537537 -> Condition tables grouping params
538538 -> Condition tables grouping params
539−(||*) = unsafeBinaryOp "OR"
539+(.||) = unsafeBinaryOp "OR"
540540
541541caseWhenThenElse
542542 :: [ ( Condition tables grouping params
@@ -564,47 +564,47 @@ ifThenElse
564564 -> Expression tables grouping params ('Required ty)
565565ifThenElse if_ then_ else_ = caseWhenThenElse [(if_,then_)] else_
566566
567−(==*)
567+(.==)
568568 :: Expression tables grouping params ('Required (nullity ty))
569569 -> Expression tables grouping params ('Required (nullity ty))
570570 -> Expression tables grouping params ('Required (nullity 'PGbool))
571−(==*) = unsafeBinaryOp "="
572−infix 4 ==*
571+(.==) = unsafeBinaryOp "="
572+infix 4 .==
573573
574−(/=*)
574+(./=)
575575 :: Expression tables grouping params ('Required (nullity ty))
576576 -> Expression tables grouping params ('Required (nullity ty))
577577 -> Expression tables grouping params ('Required (nullity 'PGbool))
578−(/=*) = unsafeBinaryOp "<>"
579−infix 4 /=*
578+(./=) = unsafeBinaryOp "<>"
579+infix 4 ./=
580580
581−(>=*)
581+(.>=)
582582 :: Expression tables grouping params ('Required (nullity ty))
583583 -> Expression tables grouping params ('Required (nullity ty))
584584 -> Expression tables grouping params ('Required (nullity 'PGbool))
585−(>=*) = unsafeBinaryOp ">="
586−infix 4 >=*
585+(.>=) = unsafeBinaryOp ">="
586+infix 4 .>=
587587
588−(*<)
588+(.<)
589589 :: Expression tables grouping params ('Required (nullity ty))
590590 -> Expression tables grouping params ('Required (nullity ty))
591591 -> Expression tables grouping params ('Required (nullity 'PGbool))
592−(*<) = unsafeBinaryOp "<"
593−infix 4 *<
592+(.<) = unsafeBinaryOp "<"
593+infix 4 .<
594594
595−(*<=)
595+(.<=)
596596 :: Expression tables grouping params ('Required (nullity ty))
597597 -> Expression tables grouping params ('Required (nullity ty))
598598 -> Expression tables grouping params ('Required (nullity 'PGbool))
599−(*<=) = unsafeBinaryOp "<="
600−infix 4 *<=
599+(.<=) = unsafeBinaryOp "<="
600+infix 4 .<=
601601
602−(>*)
602+(.>)
603603 :: Expression tables grouping params ('Required (nullity ty))
604604 -> Expression tables grouping params ('Required (nullity ty))
605605 -> Expression tables grouping params ('Required (nullity 'PGbool))
606−(>*) = unsafeBinaryOp ">"
607−infix 4 >*
606+(.>) = unsafeBinaryOp ">"
607+infix 4 .>
608608
609609currentDate
610610 :: Expression tables grouping params ('Required (nullity 'PGdate))