Module: DbAgile::SequelAdapter::ClassMethods
- Included in:
- DbAgile::SequelAdapter
- Defined in:
- lib/dbagile/adapter/sequel/class_methods.rb
Instance Method Summary collapse
-
#new(uri, options = {}) ⇒ Object
Overrided to add a SequelTracer instance if trace is on.
Instance Method Details
#new(uri, options = {}) ⇒ Object
Overrided to add a SequelTracer instance if trace is on
8 9 10 11 12 13 14 |
# File 'lib/dbagile/adapter/sequel/class_methods.rb', line 8 def new(uri, = {}) if [:trace_sql] SequelTracer.new(super(uri), ) else super(uri, ) end end |