Sha256: f335450845c1d53d1b7bbd79294e0501cf670cf4904ee416ceda17decb41fa8d
Contents?: true
Size: 610 Bytes
Versions: 5
Compression:
Stored size: 610 Bytes
Contents
require 'volt/utils/generic_pool' require 'volt/models/persistors/query/query_listener' # Keeps track of all query listeners, so they can be reused in different # places. Dynamically generated queries may end up producing the same # query in different places. This makes it so we only need to track a # single query at once. Data updates will only be sent once as well. class QueryListenerPool < GenericPool def print puts "--- Running Queries ---" @pool.each_pair do |table,query_hash| query_hash.keys.each do |query| puts "#{table}: #{query.inspect}" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems