Class: PG::Connection

Inherits:
Object
  • Object
show all
Includes:
Peek::PGInstrumented
Defined in:
lib/peek/views/pg.rb

Overview

Instrument SQL time

Class Attribute Summary collapse

Method Summary

Methods included from Peek::PGInstrumented

#async_exec, #exec, #exec_prepared

Class Attribute Details

.query_countObject

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_timeObject

Returns the value of attribute query_time.



39
40
41
# File 'lib/peek/views/pg.rb', line 39

def query_time
  @query_time
end