Class: Arel::Visitors::WhereSql
- Defined in:
- lib/arel/visitors/where_sql.rb
Instance Method Summary collapse
Methods inherited from ToSql
Methods inherited from Visitor
Constructor Details
This class inherits a constructor from Arel::Visitors::ToSql
Instance Method Details
#visit_Arel_Nodes_SelectCore(o) ⇒ Object
4 5 6 |
# File 'lib/arel/visitors/where_sql.rb', line 4 def visit_Arel_Nodes_SelectCore o "WHERE #{o.wheres.map { |x| visit x }.join ' AND ' }" end |