class ArQueryMatchers::Queries::CreateCounter

A specialized QueryCounter for “creates”. It uses a simple regex to identify and parse sql INSERT queries. For more information, see the QueryCounter class.

Public Class Methods

instrument(&block) click to toggle source
# File lib/ar_query_matchers/queries/create_counter.rb, line 13
def self.instrument(&block)
  QueryCounter.new(CreateQueryFilter.new).instrument(&block)
end