on dev help sign in
sum rename
be27e79Eitan Chatav
squeel-postgresql/src/Squeel/PostgreSQL/Statement.hs+2−2
@@ -369,10 +369,10 @@ renderSortExpression = \case
369data Aggregate (ty0 :: ColumnType) (ty1 :: ColumnType) =
369data Aggregate (ty0 :: ColumnType) (ty1 :: ColumnType) =
370 UnsafeAggregate { renderAggregate :: ByteString }
370 UnsafeAggregate { renderAggregate :: ByteString }
371
371
372−sumAggregate
372+sum_
373 :: PGNum ty
373 :: PGNum ty
374 => Aggregate ('Required (nullity ty)) ('Required (nullity ty))
374 => Aggregate ('Required (nullity ty)) ('Required (nullity ty))
375−sumAggregate = UnsafeAggregate "sum"
375+sum_ = UnsafeAggregate "sum"
376
376
377class (KnownSymbol table, KnownSymbol column)
377class (KnownSymbol table, KnownSymbol column)
378 => GroupedBy table column distincts ty where
378 => GroupedBy table column distincts ty where