module
CQL::ActiveRecord::IdChunks
Overview
Primary keys as bound values for WHERE id IN (...) statements.
Defined in:
active_record/id_chunks.crClass Method Summary
-
.bound(id) : DB::Any
id as a bound value: UUIDs as strings, as they are stored.
-
.each(ids : Array, size : Int32, &) : Nil
Yields ids (deduplicated, UUIDs as strings) in chunks of at most size.
Class Method Detail
def self.each(ids : Array, size : Int32, &) : Nil
#
Yields ids (deduplicated, UUIDs as strings) in chunks of at most size.