method

explain

Method deprecated or moved

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

explain(arel, binds = [])
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb, line 5
        def explain(arel, binds = [])
          sql = "EXPLAIN #{to_sql(arel, binds)}"
          ExplainPrettyPrinter.new.pp(exec_query(sql, 'EXPLAIN', binds))
        end