Method: Oboe::Inst::SequelDatabase#execute_insert_with_oboe
- Defined in:
- lib/oboe/inst/sequel.rb
#execute_insert_with_oboe(sql, opts = ::Sequel::OPTS, &block) ⇒ Object
95 96 97 98 99 100 101 |
# File 'lib/oboe/inst/sequel.rb', line 95 def execute_insert_with_oboe(sql, opts=::Sequel::OPTS, &block) # If we're already tracing a sequel operation, then this call likely came # from Sequel::Dataset. In this case, just pass it on. return execute_insert_without_oboe(sql, opts, &block) if Oboe.tracing_layer?('sequel') exec_with_oboe(:execute_insert_without_oboe, sql, opts, &block) end |