Sha256: 7fa4e828caa91ebd7c05a08665e368cd3536b322310bd2d24e2374527015819d
Contents?: true
Size: 613 Bytes
Versions: 12
Compression:
Stored size: 613 Bytes
Contents
# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Nodes # Postgres: https://www.postgresql.org/docs/9.1/functions-comparison.html class NotBetweenSymmetric < Arel::Nodes::BetweenSymmetric end end module Visitors class ToSql def visit_Arel_Nodes_NotBetweenSymmetric(o, collector) collector = visit o.left, collector collector << ' NOT BETWEEN SYMMETRIC ' visit o.right, collector end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName
Version data entries
12 entries across 12 versions & 1 rubygems