Sha256: c22f04ace9eb2b6700f6653dd2b5790f78637a4db261bae47a6e3438cfef8284
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 Bytes
Contents
module Dexter class Query attr_reader :statement, :fingerprint attr_accessor :initial_cost, :new_cost, :missing_tables def initialize(statement, fingerprint) @statement = statement @fingerprint = fingerprint end def tables @tables ||= PgQuery.parse(statement).tables rescue [] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pgdexter-0.1.3 | lib/dexter/query.rb |
pgdexter-0.1.2 | lib/dexter/query.rb |