Class: Neo4j::Core::Query
- Inherits:
-
Object
- Object
- Neo4j::Core::Query
- Defined in:
- lib/patches/db/neo4j.rb
Instance Method Summary collapse
- #response ⇒ Object (also: #response_with_miniprofiler)
- #response_without_miniprofiler ⇒ Object
Instance Method Details
#response ⇒ Object Also known as: response_with_miniprofiler
4 5 6 7 8 9 10 11 |
# File 'lib/patches/db/neo4j.rb', line 4 def response return @response if @response start = Time.now rval = response_without_miniprofiler elapsed_time = SqlPatches.elapsed_time(start) Rack::MiniProfiler.record_sql(to_cypher, elapsed_time) rval end |
#response_without_miniprofiler ⇒ Object
2 |
# File 'lib/patches/db/neo4j.rb', line 2 alias_method :response_without_miniprofiler, :response |