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

module Arel
  module Nodes
    class Over < Binary
      include Arel::AliasPredication

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

      def operator; "OVER" end
    end
  end
end