For some reason the AppModel->updateAll() method does not escape data passed to it. Looking over the documentation though, I can't find anything on how you actually escape data with CakePHP.
Down in datasources/dbo/dbo_mysql.php
I found the value()
method that seems to just use mysql_real_escape_string()
- but I have no idea how to access that method from up in my models.
So how do you?