Results
The Results interface is returned by queries, prepared statements, and scripts.
It follows the familiar PGlite result shape and adds the observed database revision and the names of changed tables.
Since
v0.0.5
affectedRows
The affectedRows property reports the number of rows changed by a write. Read more.
command
The command property contains the executed statement family. Read more.
fields
The fields property describes the projected columns in result order. Read more.
keys
The keys property contains the primary keys the statement changed, keyed by table name. Read more.
revision
The revision property contains the database revision observed by the statement. Read more.
rowCount
The rowCount property reports the number of rows returned or changed. Read more.
rows
The rows property contains the rows returned by the statement. Read more.
tables
The tables property contains the tables changed by the statement. Read more.