class

Rayo::PG::Batch

Inherits Reference < Object

Cross-request aggregation hook: collect IDs or strings without an Array, issue one query (e.g. WHERE id = ANY($1::int8[])), then fan out in its callback using caller-owned state. Transaction/group-commit policy belongs to callers.

Constructors

new(capacity : Int32 = 4096)
Source

Instance methods

add(value : Int64 | String | Bytes | Nil) : Nil
Source
clear
Source
close
Source
param
Source
size
Source