Class: ArQueryMatchers::Queries::UpdateCounter
- Inherits:
-
Object
- Object
- ArQueryMatchers::Queries::UpdateCounter
- Defined in:
- lib/ar_query_matchers/queries/update_counter.rb
Overview
A specialized QueryCounter for “updates”. It uses a simple regex to identify and parse sql UPDATE queries. For more information, see the QueryCounter class.
Defined Under Namespace
Classes: UpdateQueryFilter
Class Method Summary collapse
Class Method Details
.instrument(&block) ⇒ Object
13 14 15 |
# File 'lib/ar_query_matchers/queries/update_counter.rb', line 13 def self.instrument(&block) QueryCounter.new(UpdateQueryFilter.new).instrument(&block) end |