Sha256: cede94c0aa22f9454e3668deade9637c56089c141fb6901ee5ee9d154a8b9ab3
Contents?: true
Size: 485 Bytes
Versions: 17
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module OpenTracing module SqlSanitizer class Postgres < Base def substitutions [ [PSQL_PLACEHOLDER, "?"], [PSQL_VAR_INTERPOLATION, ""], [PSQL_AFTER_WHERE, ->(c) { c.gsub(PSQL_REMOVE_STRINGS, "?") }], [PSQL_REMOVE_INTEGERS, "?"], [PSQL_IN_CLAUSE, "IN (?)"], [MULTIPLE_SPACES, " "] ] end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems