Sha256: db14436783a7276a603bfed1a6eab3f7b0b6d3e57cc5a337c89412a551618c10

Contents?: true

Size: 376 Bytes

Versions: 17

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module OpenTracing
    module SqlSanitizer
      class Sqlite < Base
        def substitutions
          [
            [SQLITE_VAR_INTERPOLATION, ""],
            [SQLITE_REMOVE_STRINGS, "?"],
            [SQLITE_REMOVE_INTEGERS, "?"],
            [MULTIPLE_SPACES, " "]
          ]
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
activerecord-instrumentation-0.6.2 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.6.1 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.6.1.pre lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.6.0 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.6.0.jhemphill4 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.6.0.jhemphill3 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.6.0.jhemphill2 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.6.0.jhemphill1 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.5.2 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.5.2.pre lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.5.1 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.5.1.pre lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.4.0 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.4.0.jlauer4 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.4.0.jlauer3 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.4.0.jlauer2 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb
activerecord-instrumentation-0.4.0.jlauer1 lib/active_record/open_tracing/sql_sanitizer/sqlite.rb