method

explain

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: DatabaseStatements
explain(arel, binds = []) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb, line 18
        def explain(arel, binds = [])
          sql = "EXPLAIN QUERY PLAN #{to_sql(arel, binds)}"
          SQLite3::ExplainPrettyPrinter.new.pp(exec_query(sql, "EXPLAIN", []))
        end
Register or log in to add new notes.