Method: ActiveRecord::ConnectionAdapters::PostgreSQL::DatabaseStatements#build_explain_clause
- Defined in:
- activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb
#build_explain_clause(options = []) ⇒ Object
96 97 98 99 100 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb', line 96 def build_explain_clause( = []) return "EXPLAIN" if .empty? "EXPLAIN (#{options.join(", ").upcase})" end |