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..157bdcaa08
--- /dev/null
+++ b/activerecord/lib/arel/nodes/with.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Arel # :nodoc: all
+ module Nodes
+ class With < Arel::Nodes::Unary
+ alias children expr
+ end
+
+ class WithRecursive < With; end
+ end
+end