aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/nodes/with.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/arel/nodes/with.rb')
-rw-r--r--activerecord/lib/arel/nodes/with.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/lib/arel/nodes/with.rb b/activerecord/lib/arel/nodes/with.rb
new file mode 100644
index 0000000000..def7840ea3
--- /dev/null
+++ b/activerecord/lib/arel/nodes/with.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+module Arel
+ module Nodes
+ class With < Arel::Nodes::Unary
+ alias children expr
+ end
+
+ class WithRecursive < With; end
+ end
+end
+