1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/nodes/over.rb

16 lines
247 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-02-24 01:45:50 -05:00
2012-02-22 09:25:10 -05:00
module Arel
module Nodes
class Over < Binary
include Arel::AliasPredication
2012-02-22 09:25:10 -05:00
def initialize(left, right = nil)
super(left, right)
end
2018-02-24 01:45:50 -05:00
def operator; "OVER" end
2012-02-22 09:25:10 -05:00
end
end
2018-02-24 01:45:50 -05:00
end