aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/nodes/over.rb
blob: 91176764a907e3560621fea68d4ab5bad9e8324c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Arel # :nodoc: all
  module Nodes
    class Over < Binary
      include Arel::AliasPredication

      def initialize(left, right = nil)
        super(left, right)
      end

      def operator; "OVER" end
    end
  end
end