method

prepare_update_statement

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: ToSql
prepare_update_statement(o) private

The default strategy for an UPDATE with joins is to use a subquery. This doesn’t work on MySQL (even when aliasing the tables), but MySQL allows using JOIN directly in an UPDATE statement, so in the MySQL visitor we redefine this to do that.

Show source
Register or log in to add new notes.