class ActiveRecord::ConnectionAdapters::SQLite3Adapter::ExplainPrettyPrinter
def pp(result) # :nodoc:
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 a EXPLAIN QUERY PLAN in a way that resembles
def pp(result) # :nodoc: result.rows.map do |row| row.join('|') end.join("\n") + "\n" end