Welcome Guest, Not a member yet? Register   Sign In
SQL WHERE LIKE is being ignored in an ActiveRecord update??
#7

[eluser]Zoon[/eluser]
You're quite right. The method like is not defined in the database driver files.

To clarify, DB_active_rec.php is not passing the like options into the database driver's _update method, which also isn't expecting it. It is passing it for _delete, and it is expected for delete.

This is either an oversight, and thus a bug, or has been excluded for some reason.

If the latter, I'd like to know why, if anyone knows? Smile

I've also never contributed to an open source project, so I dunno if I'm literally supposed to fix it and say "do you want this code?" or what!


Messages In This Thread
SQL WHERE LIKE is being ignored in an ActiveRecord update?? - by El Forum - 09-24-2010, 07:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB