instance method
build_explain_clause
Ruby on Rails 8.1.2
Since v7.1.6 PrivateSignature
build_explain_clause(connection, options = [])
No documentation comment.
Parameters
-
connectionreq -
optionsopt = []
Source
# File activerecord/lib/active_record/explain.rb, line 55
def build_explain_clause(connection, options = [])
if connection.respond_to?(:build_explain_clause, true)
connection.build_explain_clause(options)
else
"EXPLAIN for:"
end
end
Defined in activerecord/lib/active_record/explain.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Explain