struct

Rayo::PG::Result

Inherits Struct < Value < Object

Views into Conn's reusable buffers: consume in the callback or copy explicitly.

Constructors

new(data : Bytes, size : Int32, sqlstate : Bytes, message : Bytes, rows_affected : Int64 = 0)
Source

Instance methods

each
Source
each_partition(count : Int32, & : Result, Int32 -> ) : Nil

Split sorted one-based request ordinals in one pass, including empty partitions. Error metadata is shared by every waiting request.

Source
error?
Source
first?
Source
message
Source
rows_affected
Source
size
Source
sqlstate
Source
valid_partitions?(count : Int32) : Bool
Source