You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def criteria = KitchenSink.query("sinkLink.createdByJobId": 1L)
.groupBy("sinkLink.actDate as actDate")
.groupBy("sinkLink.kind as kind")
.groupBy("sinkLink.createdByJobId as createdByJobId")
Generates query
SELECT new map( kitchenSink.sinkLink.actDate as actDate,kitchenSink.sinkLink.kind as kind,kitchenSink.sinkLink.createdByJobId as createdByJobId ) FROM yakworks.testing.gorm.model.KitchenSink AS kitchenSink GROUP BY kitchenSink.sinkLink.actDate,kitchenSink.sinkLink.kind,kitchenSink.sinkLink.createdByJobId
There’s no having or where restriction for the criteria - sinkLink.createdByJobId = 1 (edited)
Fails to build proper query
Generates query
There’s no having or where restriction for the criteria - sinkLink.createdByJobId = 1 (edited)
@basejump
The text was updated successfully, but these errors were encountered: