From 3971ddf112fae69ff48c764015377af21667784b Mon Sep 17 00:00:00 2001 From: Ashraf Kaabi Date: Thu, 18 May 2017 01:35:52 +0200 Subject: [PATCH] Adding support for group_by see #406 --- application/models/Grocery_crud_model.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/models/Grocery_crud_model.php b/application/models/Grocery_crud_model.php index 24930055..33ce7b58 100755 --- a/application/models/Grocery_crud_model.php +++ b/application/models/Grocery_crud_model.php @@ -584,4 +584,9 @@ function escape_str($value) return $this->db->escape_str($value); } + function group_by($by, $escape = NULL) + { + $this->db->group_by($by, $escape); + } + }