vendor/plugins/query_stats/lib/query_stats/recorder.rb
# Executes the query, capturing execution time and logging data to the
# QueryStats::Holder
Executes the query, capturing execution time and logging data to the
QueryStats::Holder
Executes the query capturing execution time and logging data to the QueryStats :: Holder
def execute_with_query_stats(*args)
      result = nil
      seconds = Benchmark.realtime do
        result = execute_without_query_stats(*args)
      end
      queries.add(seconds, *args)
      result
    end
def execute_with_query_stats ( * args ) result = nil seconds = Benchmark . realtime do result = execute_without_query_stats ( * args ) end queries . add ( seconds , * args ) result end
Executes the query, capturing execution time and logging data to the
QueryStats::Holder
Executes the query capturing execution time and logging data to the QueryStats :: Holder
args
<not_specific>