class Rotor::Adapters::PGRows < Rotor::Rows

pg's result as Rotor::Rows.

/home/runner/work/rotor/rotor/src/adapter.qz:141

Class methods

def self.new(result: PG::Result) -> Rotor::Adapters::PGRows

/home/runner/work/rotor/rotor/src/adapter.qz:144

Methods

def columns -> Array[String]

The columns' names, in order.

from Rotor::Rows

/home/runner/work/rotor/rotor/src/adapter.qz:146

def rows -> Array[Rotor::Row]

The rows.

from Rotor::Rows

/home/runner/work/rotor/rotor/src/adapter.qz:147

def affected -> Int?

The count the server reported with the statement: the rows an INSERT, UPDATE or DELETE changed, or a SELECT gave (nil for a statement without one).

from Rotor::Rows

/home/runner/work/rotor/rotor/src/adapter.qz:148