lib/dexter/query.rb in pgdexter-0.2.0 vs lib/dexter/query.rb in pgdexter-0.2.1
- old
+ new
@@ -1,8 +1,8 @@
module Dexter
class Query
attr_reader :statement, :fingerprint, :plans
- attr_accessor :missing_tables, :new_cost
+ attr_accessor :missing_tables, :new_cost, :total_time, :calls, :indexes, :suggest_index, :pass1_indexes, :pass2_indexes
def initialize(statement, fingerprint = nil)
@statement = statement
unless fingerprint
fingerprint = PgQuery.fingerprint(statement) rescue "unknown"