Sha256: 26d7bcb46f6130b50aa7ba08bc08868e0b7abf9850cd732522b9803c5132a1e9
Contents?: true
Size: 594 Bytes
Versions: 12
Compression:
Stored size: 594 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 BetweenSymmetric < Arel::Nodes::Between end end module Visitors class ToSql def visit_Arel_Nodes_BetweenSymmetric(o, collector) collector = visit o.left, collector collector << ' 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