module ActiveRecord::ConnectionAdapters::SQLite3::DatabaseStatements
def explain(arel, binds = [])
def explain(arel, binds = []) sql = "EXPLAIN QUERY PLAN #{to_sql(arel, binds)}" SQLite3::ExplainPrettyPrinter.new.pp(exec_query(sql, "EXPLAIN", [])) end