method

predicates_with_wrapped_sql_literals

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: WhereClause
predicates_with_wrapped_sql_literals() private

No documentation

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

Hide source
# File activerecord/lib/active_record/relation/where_clause.rb, line 199
        def predicates_with_wrapped_sql_literals
          non_empty_predicates.map do |node|
            case node
            when Arel::Nodes::SqlLiteral, ::String
              wrap_sql_literal(node)
            else node
            end
          end
        end
Register or log in to add new notes.