Module: AppPerfRpm::Utils
- Included in:
- Instruments::ActiveRecord::Adapters::Mysql2, Instruments::ActiveRecord::Adapters::Postgresql, Instruments::ActiveRecord::Adapters::Sqlite3, Instruments::ActiveRecordImport
- Defined in:
- lib/app_perf_rpm/utils.rb
Instance Method Summary collapse
Instance Method Details
#sanitize_sql(sql, adapter) ⇒ Object
5 6 7 |
# File 'lib/app_perf_rpm/utils.rb', line 5 def sanitize_sql(sql, adapter) sql.gsub(REGEXP, '?') end |