diff options
Diffstat (limited to 'activerecord/lib/arel/window_predications.rb')
-rw-r--r-- | activerecord/lib/arel/window_predications.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/lib/arel/window_predications.rb b/activerecord/lib/arel/window_predications.rb new file mode 100644 index 0000000000..3a8ee41f8a --- /dev/null +++ b/activerecord/lib/arel/window_predications.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Arel # :nodoc: all + module WindowPredications + def over(expr = nil) + Nodes::Over.new(self, expr) + end + end +end |