From 5342532a3622acf1bd4fed66d623e43064975f52 Mon Sep 17 00:00:00 2001 From: Bruno Antunes Date: Wed, 8 Apr 2020 22:01:41 +0100 Subject: [PATCH] Add #group_by to list of methods delegated to the Query Builder in BuilderMethods --- src/granite/query/builder_methods.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/granite/query/builder_methods.cr b/src/granite/query/builder_methods.cr index e3d737e3..8269c730 100644 --- a/src/granite/query/builder_methods.cr +++ b/src/granite/query/builder_methods.cr @@ -12,5 +12,5 @@ module Granite::Query::BuilderMethods Builder(self).new(db_type) end - delegate where, order, offset, limit, to: __builder + delegate where, order, offset, limit, group_by, to: __builder end