class

Rayo::PG::Coalescer::Group(T)

Inherits Reference < Object

Constructors

new(owner : Rayo::PG::Coalescer(T), capacity : Int32, parameters : Int32)
Source

Instance methods

[](index : Int32) : T
Source
add(state : T, args : Tuple, callback : Proc(Result, T, Nil) | Nil) : Nil
Source
begin(key : Int32, sequence : UInt64) : Nil
Source
close
Source
deliver(result : Result) : Nil
Source
done

Custom dispatchers call done only after their last borrowed row is consumed.

Source
each
Source
owner
Source
param(index : Int32) : ArrayParam
Source
phase
Source
phase=(phase : Int32)
Source
query(conn : Conn, statement : Statement, *args) : Nil

Query rows carry a one-based ordinal in column zero, ordered by it. Keep that column so the result remains a borrowed view, with no row copy.

Source
sequence
Source
sequence=(sequence : UInt64)
Source
size
Source