Welcome Guest, Not a member yet? Register   Sign In
Odd behaviour with Active Record
#1

Hey guys,

for your information i'm using CI 3:

Can anyone of you reproduce what i've experienced;
I've a compound select query like:

PHP Code:
$query $this->db

->select("ur.*, ca.name, GROUP_CONCAT(ug.id SEPARATOR ',') AS usergrouplist",false)... 

Now, my problem is the generated Query
Code:
SELECT ur.*, ca.name, GROUP_CONCAT(ug.id SEPARATOR ', ') AS usergrouplist

There is a space after the comma
Am i overlooking something or is there a bug in CI ?
Reply


Messages In This Thread
Odd behaviour with Active Record - by sintakonte - 11-18-2014, 02:45 AM
RE: Odd behaviour with Active Record - by sv3tli0 - 11-18-2014, 02:56 AM
RE: Odd behaviour with Active Record - by sv3tli0 - 11-18-2014, 05:09 AM
RE: Odd behaviour with Active Record - by Narf - 11-18-2014, 07:16 AM
RE: Odd behaviour with Active Record - by Rufnex - 11-18-2014, 08:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB