class Arel::Collectors::SQLString
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/arel/collectors/sql_string.rbs class Arel::Collectors::SQLString < Arel::Collectors::PlainString def add_bind: ((ActiveModel::Attribute::FromUser | ActiveRecord::Relation::QueryAttribute) bind) -> Arel::Collectors::SQLString def initialize: (*unused *) -> void end
def add_bind(bind)
Experimental RBS support (using type sampling data from the type_fusion
project).
def add_bind: ((ActiveModel::Attribute::FromUser | ActiveRecord::Relation::QueryAttribute) bind) -> Arel::Collectors::SQLString
This signature was generated using 99 samples from 2 applications.
def add_bind(bind) self << yield(@bind_index) @bind_index += 1 self end
def add_binds(binds, proc_for_binds = nil, &block)
def add_binds(binds, proc_for_binds = nil, &block) self << (@bind_index...@bind_index += binds.size).map(&block).join(", ") self end
def initialize(*)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (*unused *) -> void
This signature was generated using 48 samples from 2 applications.
def initialize(*) super @bind_index = 1 end