method

prepare_update_statement

rails latest stable - Class: Arel::Visitors::PostgreSQL

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

prepare_update_statement(o)
private

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