Sha256: 279f7eb34b66d50ce064c7cf0dd6403bec41f4dd13cf2ff12d78374653aa9f81
Contents?: true
Size: 447 Bytes
Versions: 30
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true class Neo4j::Core::Query alias_method :response_without_miniprofiler, :response def response return @response if @response start = Process.clock_gettime(Process::CLOCK_MONOTONIC) rval = response_without_miniprofiler elapsed_time = SqlPatches.elapsed_time(start) Rack::MiniProfiler.record_sql(to_cypher, elapsed_time) rval end alias_method :response_with_miniprofiler, :response end
Version data entries
30 entries across 30 versions & 1 rubygems