on dev help sign in
fix GroupedBy instance
commit58ba66578dbe8c08c4334df4a3c2933a1b92074f authorEitan Chatav <eitan.chatav@gmail.com> dateWed 9 Aug 2017, 10:40 (9 years ago) parent266d19d
1 file changed+1−1
squeel-postgresql/src/Squeel/PostgreSQL/Statement.hs+1−1
squeel-postgresql/src/Squeel/PostgreSQL/Statement.hs+1−1
@@ -433,7 +433,7 @@ class (KnownSymbol table, KnownSymbol column)
433433 getGroup2 table column = UnsafeExpression $
434434 renderAlias table <> "." <> renderAlias column
435435instance {-# OVERLAPPING #-} (KnownSymbol table, KnownSymbol column)
436− => GroupedBy table column '[ '(table,column)]
436+ => GroupedBy table column ('(table,column) ': bys)
437437instance {-# OVERLAPPABLE #-}
438438 ( KnownSymbol table
439439 , KnownSymbol column