method

prepare_update_statement

rails latest stable - Class: Arel::Visitors::MySQL
prepare_update_statement(o)
private

In the simple case, MySQL allows us to place JOINs directly into the UPDATE query. However, this does not allow for LIMIT, OFFSET and ORDER. To support these, we must use a subquery.