Welcome Guest, Not a member yet? Register   Sign In
Specific query not working with Active Record Class and row grouping
#7

[eluser]joergy[/eluser]
The problem is, that CI does not want to reimplement a complete SQL parser for Active Records.
So only very simple statements are possible.
Anything with "(" or "'" might fail.
Another restriction is, that Active Records do not support "bindings" from MySQLi.
In Your case You better build Your SQL completely Yourself.
Don't forget to escape Your values!


Messages In This Thread
Specific query not working with Active Record Class and row grouping - by El Forum - 06-26-2014, 12:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB