aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/window_predications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/window_predications.rb')
-rw-r--r--lib/arel/window_predications.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/arel/window_predications.rb b/lib/arel/window_predications.rb
new file mode 100644
index 0000000000..71844eab53
--- /dev/null
+++ b/lib/arel/window_predications.rb
@@ -0,0 +1,9 @@
+module Arel
+ module WindowPredications
+
+ def over(expr = nil)
+ Nodes::Over.new(self, expr)
+ end
+
+ end
+end \ No newline at end of file