Module: Mysql2::Statement::RackDevInsight
- Included in:
- Mysql2::Statement
- Defined in:
- lib/rack/dev_insight/patches/sql/mysql2.rb
Instance Method Summary collapse
Instance Method Details
#execute(*args, **kwargs) ⇒ Object
31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rack/dev_insight/patches/sql/mysql2.rb', line 31 def execute(*args, **kwargs) params = args Rack::DevInsight::SqlRecorder .new .record_sql( dialect: Rack::DevInsight::SqlDialects::MYSQL, statement: @_rack_dev_insight_sql || 'Missing prepared statement', binds: params, ) { super } end |