method

subquery_for

rails latest stable - Class: ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

subquery_for(key, select)
protected

MySQL is too stupid to create a temporary table for use subquery, so we have to give it some prompting in the form of a subsubquery. Ugh!