struct

Rayo::PG::Row

Inherits Struct < Value < Object

Constructors

new(data : Bytes)
Source

Class methods

integer(s : Bytes) : Int64

Accumulate negative values so Int64::MIN is representable.

Source

Instance methods

bool(col : Int32) : Bool
Source
each_array(col : Int32, scratch : Bytes, & : Bytes | Nil -> ) : Nil

Escaped elements are decoded into caller-owned scratch, reused at every yield. Supports one-dimensional arrays, including explicit lower bounds and NULLs.

Source
each_i64(col : Int32, & : Int64 | Nil -> ) : Nil
Source
i32(col : Int32) : Int32
Source
i64(col : Int32) : Int64
Source
null?(col : Int32) : Bool
Source
size
Source
str(col : Int32) : Bytes
Source