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)
SourceInstance methods
each
Sourceeach_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.
error?
Sourcefirst?
Sourcemessage
Sourcerows_affected
Sourcesize
Sourcesqlstate
Sourcevalid_partitions?(count : Int32) : Bool
Source