Sha256: 02443cf1b394cc2a7c2fdc336ae2b63e8586c06ab17679e1ddbc57474203c57a

Contents?: true

Size: 347 Bytes

Versions: 17

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module OpenTracing
    module SqlSanitizer
      class SqlServer < Base
        def substitutions
          [
            [SQLSERVER_EXECUTESQL, '\1'],
            [SQLSERVER_REMOVE_INTEGERS, "?"],
            [SQLSERVER_IN_CLAUSE, "IN (?)"]
          ]
        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/sql_server.rb
activerecord-instrumentation-0.6.1 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.6.1.pre lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.6.0 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.6.0.jhemphill4 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.6.0.jhemphill3 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.6.0.jhemphill2 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.6.0.jhemphill1 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.5.2 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.5.2.pre lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.5.1 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.5.1.pre lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.4.0 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.4.0.jlauer4 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.4.0.jlauer3 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.4.0.jlauer2 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb
activerecord-instrumentation-0.4.0.jlauer1 lib/active_record/open_tracing/sql_sanitizer/sql_server.rb