method

where_sql

Importance_0
v7.1.3.4 - 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 192
    def where_sql(engine = Table.engine)
      return if @ctx.wheres.empty?

      Nodes::SqlLiteral.new("WHERE #{Nodes::And.new(@ctx.wheres).to_sql(engine)}")
    end
Register or log in to add new notes.