aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/window_predications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/arel/window_predications.rb')
-rw-r--r--activerecord/lib/arel/window_predications.rb10
1 files changed, 10 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..f93dede036
--- /dev/null
+++ b/activerecord/lib/arel/window_predications.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+module Arel
+ module WindowPredications
+
+ def over(expr = nil)
+ Nodes::Over.new(self, expr)
+ end
+
+ end
+end \ No newline at end of file