Module: Sequel::Extensions::SequelInstrumentation
- Defined in:
- lib/sequel/extensions/sequel_instrumentation.rb
Instance Method Summary collapse
Instance Method Details
#log_connection_yield(sql, conn, args = nil) ⇒ Object
4 5 6 7 8 |
# File 'lib/sequel/extensions/sequel_instrumentation.rb', line 4 def log_connection_yield(sql, conn, args = nil) ActiveSupport::Notifications.instrument "sql.sequel", sql: sql, conn: conn, binds: args do super end end |