Module: Utils::IRB::Relation

Included in:
ActiveRecord::Relation
Defined in:
lib/utils/irb.rb

Instance Method Summary collapse

Instance Method Details

#explainObject



438
439
440
# File 'lib/utils/irb.rb', line 438

def explain
  connection.select_all("EXPLAIN #{to_sql}")
end