module CQL::ActiveRecord::IdChunks

Overview

Primary keys as bound values for WHERE id IN (...) statements.

Defined in:

active_record/id_chunks.cr

Class Method Summary

Class Method Detail

def self.bound(id) : DB::Any #

id as a bound value: UUIDs as strings, as they are stored.


[View source]
def self.each(ids : Array, size : Int32, &) : Nil #

Yields ids (deduplicated, UUIDs as strings) in chunks of at most size.


[View source]