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
261 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-02-24 01:45:50 -05:00
2018-02-24 02:41:47 -05:00
module Arel # :nodoc: all
2012-02-22 09:25:10 -05:00
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