Welcome Guest, Not a member yet? Register   Sign In
"Real" prepared statements in CI?
#1

[eluser]Unknown[/eluser]
Has anyone gotten real prepared statements working in CI?

It looks like even if I'm passing in very optimizable queries like
Code:
$db->query("select * from mytable where id=?", array(5))
CI then pulls them apart and manually constructs the full query with the variables replaced with values, which loses all query compilation optimization that you would get if you did a more normal "bind_param" method.


Messages In This Thread
"Real" prepared statements in CI? - by El Forum - 11-09-2012, 04:43 PM
"Real" prepared statements in CI? - by El Forum - 12-21-2012, 04:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB