Method: Insight::SQLPanel::QueryResult.execute

Defined in:
lib/insight/panels/sql_panel/query.rb

.execute(sql) ⇒ Object

Downside is: we re-execute the SQL…



50
51
52
# File 'lib/insight/panels/sql_panel/query.rb', line 50

def self.execute(sql)
  ActiveRecord::Base.connection.execute(sql)
end