aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/exists.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes/exists.rb')
-rw-r--r--lib/arel/nodes/exists.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/arel/nodes/exists.rb b/lib/arel/nodes/exists.rb
new file mode 100644
index 0000000000..167a345006
--- /dev/null
+++ b/lib/arel/nodes/exists.rb
@@ -0,0 +1,11 @@
+module Arel
+ module Nodes
+ class Exists
+ attr_reader :select_stmt
+
+ def initialize select_stmt
+ @select_stmt = select_stmt
+ end
+ end
+ end
+end