on dev help sign in
fix test
commitfbab470dedcf44ad6aff2ca94026af7f0128e830 authorEitan Chatav <eitan.chatav@gmail.com> dateSun 25 Mar 2018, 12:33 (9 years ago) parent69b47d7
1 file changed+3−3
squeal-postgresql/src/Squeal/PostgreSQL/Expression.hs+3−3
squeal-postgresql/src/Squeal/PostgreSQL/Expression.hs+3−3
@@ -793,9 +793,9 @@ unsafeAggregateDistinct fun x = UnsafeExpression $ mconcat
793793
794794-- | >>> :{
795795-- let
796−-- expression :: Expression '[tab ::: '["col" ::: nullity 'PGnumeric]] ('Grouped bys) params (nullity 'PGnumeric)
796+-- expression :: Expression '[tab ::: '["col" ::: 'Null 'PGnumeric]] ('Grouped bys) params ('Null 'PGnumeric)
797797-- expression = sum_ #col
798−-- in renderExpression $ sum_ #col
798+-- in renderExpression expression
799799-- :}
800800-- "sum(col)"
801801sum_
@@ -807,7 +807,7 @@ sum_ = unsafeAggregate "sum"
807807
808808-- | >>> :{
809809-- let
810−-- expression :: Expression '[tab ::: '["col" ::: nullity 'PGnumeric]] (Grouped bys) params (nullity 'PGnumeric)
810+-- expression :: Expression '[tab ::: '["col" ::: nullity 'PGnumeric]] ('Grouped bys) params (nullity 'PGnumeric)
811811-- expression = sumDistinct #col
812812-- in renderExpression expression
813813-- :}