diff options
Diffstat (limited to 'lib/arel/select_manager.rb')
-rw-r--r-- | lib/arel/select_manager.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index f2520f38d7..f6738bf26f 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -22,6 +22,12 @@ module Arel self end + ### + # Produces an Arel::Nodes::Exists node + def exists + Arel::Nodes::Exists.new @ast + end + def where_clauses #warn "where_clauses is deprecated" if $VERBOSE to_sql = Visitors::ToSql.new @engine |