Class: Rack::Insight::SQLPanel::ExplainResult

Inherits:
QueryResult
  • Object
show all
Defined in:
lib/rack/insight/panels/sql_panel/query.rb

Instance Attribute Summary

Attributes inherited from QueryResult

#sql, #time

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::Insight::SQLPanel::QueryResult

Instance Method Details

#executeObject



65
66
67
# File 'lib/rack/insight/panels/sql_panel/query.rb', line 65

def execute
  self.class.execute "EXPLAIN #{@sql}"
end