class Arel::SelectManager
def project(*projections)
Experimental RBS support (using type sampling data from the type_fusion
project).
def project: (*Array[Arel::Attributes::Attribute] projections) -> Arel::SelectManager
This signature was generated using 18 samples from 2 applications.
def project(*projections) # FIXME: converting these to SQLLiterals is probably not good, but # rails tests require it. @ctx.projections.concat projections.map { |x| STRING_OR_SYMBOL_CLASS.include?(x.class) ? Nodes::SqlLiteral.new(x.to_s) : x } self end