Skip to content

Results

Defined in: packages/pgwasm/src/interface.ts:38

The result of one statement.

T = Row

optional affectedRows?: number

Defined in: packages/pgwasm/src/interface.ts:41

Rows changed so far by INSERT/UPDATE/DELETE/COPY/MERGE, cumulative across a multi-statement exec.


optional blob?: Blob

Defined in: packages/pgwasm/src/interface.ts:48

What COPY … TO '/dev/blob' wrote, when it wrote anything.


optional command?: string

Defined in: packages/pgwasm/src/interface.ts:43

The statement’s command, e.g. “SELECT”, “INSERT”, “CREATE”.


fields: object[]

Defined in: packages/pgwasm/src/interface.ts:46

dataTypeID: number

name: string


optional rowCount?: number

Defined in: packages/pgwasm/src/interface.ts:45

The row count in the command tag (rows returned or changed by this statement).


rows: T[]

Defined in: packages/pgwasm/src/interface.ts:39