Sha256: 5538eeb7934a959d8fb71dfcbed8f91b9d0838a5f1716d9914b85533b4c34efd
Contents?: true
Size: 522 Bytes
Versions: 12
Compression:
Stored size: 522 Bytes
Contents
# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Nodes class NullIf < Arel::Nodes::Binary end end module Visitors class ToSql def visit_Arel_Nodes_NullIf(o, collector) collector << 'NULLIF(' visit o.left, collector collector << ', ' visit o.right, collector collector << ')' end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName
Version data entries
12 entries across 12 versions & 1 rubygems