class ActiveRecord::Relation::WhereClause

def predicates_with_wrapped_sql_literals

Experimental RBS support (using type sampling data from the type_fusion project).

def predicates_with_wrapped_sql_literals: () -> untyped

This signature was generated using 26 samples from 1 application.

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