Class: Rack::Bug::SQLPanel::ExplainResult
- Inherits:
-
QueryResult
- Object
- QueryResult
- Rack::Bug::SQLPanel::ExplainResult
- Defined in:
- lib/rack/bug/panels/sql_panel/query.rb
Instance Attribute Summary
Attributes inherited from QueryResult
Instance Method Summary collapse
Methods inherited from QueryResult
#column_names, execute, #human_time, #initialize, #inspectable?, #result, #rows, #valid_hash?
Methods included from FilteredBacktrace
#backtrace, backtrace_regexp, #filtered_backtrace, #has_backtrace?, root_for_backtrace_filtering
Constructor Details
This class inherits a constructor from Rack::Bug::SQLPanel::QueryResult
Instance Method Details
#execute ⇒ Object
67 68 69 |
# File 'lib/rack/bug/panels/sql_panel/query.rb', line 67 def execute self.class.execute "EXPLAIN #{@sql}" end |