class ActiveRecord::ConnectionAdapters::SQLite3::ExplainPrettyPrinter
:nodoc:
def pp(result)
0|1|1|SCAN TABLE posts (~100000 rows)
0|0|0|SEARCH TABLE users USING INTEGER PRIMARY KEY (rowid=?) (~1 rows)
the output of the SQLite shell:
Pretty prints the result of an EXPLAIN QUERY PLAN in a way that resembles
:nodoc:
def pp(result) result.rows.map do |row| row.join("|") end.join("\n") + "\n" end