Class: PG::Connection
- Inherits:
-
Object
- Object
- PG::Connection
- Includes:
- Peek::PGInstrumented
- Defined in:
- lib/peek/views/pg.rb
Overview
Instrument SQL time
Class Attribute Summary collapse
-
.query_count ⇒ Object
Returns the value of attribute query_count.
-
.query_time ⇒ Object
Returns the value of attribute query_time.
Method Summary
Methods included from Peek::PGInstrumented
#async_exec, #exec, #exec_prepared
Class Attribute Details
.query_count ⇒ Object
Returns the value of attribute query_count.
39 40 41 |
# File 'lib/peek/views/pg.rb', line 39 def query_count @query_count end |
.query_time ⇒ Object
Returns the value of attribute query_time.
39 40 41 |
# File 'lib/peek/views/pg.rb', line 39 def query_time @query_time end |