CodeIgniter Forums
groupHavingStart function is not implemented yet? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: groupHavingStart function is not implemented yet? (/showthread.php?tid=77134)



groupHavingStart function is not implemented yet? - mmfarhan - 07-23-2020

Hi,
I am trying to use groupHavingStart function but getting error:

Error
Call to undefined method CodeIgniter\Database\MySQLi\Builder::groupHavingStart()


I am using latest 4.0.4 versions. May be this function is not implemented yet but it is in the docs https://codeigniter.com/user_guide/database/query_builder.html#query-grouping.

Thanks.

--
Muhammad


RE: groupHavingStart function is not implemented yet? - joshd - 08-27-2020

Hi,

Try havingGroupStart(). Looks like the documentation doesn't match what's in the code.

https://github.com/codeigniter4/CodeIgniter4/blob/a1aa4e5add152fbfa6a31df6fc6cb95b7d41e759/system/Database/BaseBuilder.php#L1403