Sha256: 8b684de9f3ea2a64153032705a03500d5c40827188e3dad3b1ccfa1f0b6b0df2
Contents?: true
Size: 289 Bytes
Versions: 1
Compression:
Stored size: 289 Bytes
Contents
module Mysql2QueryFilter::Mysql2ClientExt def self.included(klass) klass.class_eval do alias query_without_filter query def query(*args) sql = args.first Mysql2QueryFilter.filter(sql, self) query_without_filter(*args) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mysql2_query_filter-0.1.1 | lib/mysql2_query_filter/mysql2_client_ext.rb |