method

where_sql

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: SelectManager
where_sql(engine = Table.engine) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/select_manager.rb, line 186
    def where_sql(engine = Table.engine)
      return if @ctx.wheres.empty?

      viz = Visitors::WhereSql.new(engine.connection.visitor, engine.connection)
      Nodes::SqlLiteral.new viz.accept(@ctx, Collectors::SQLString.new).value
    end
Register or log in to add new notes.