Skip to content

LiveQueryResults

Defined in: packages/pgwasm/src/live/interface.ts:63

The result of one statement.

T

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.

Results.affectedRows


optional blob?: Blob

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

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

Results.blob


optional command?: string

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

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

Results.command


fields: object[]

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

dataTypeID: number

name: string

Results.fields


optional limit?: number

Defined in: packages/pgwasm/src/live/interface.ts:66


optional offset?: number

Defined in: packages/pgwasm/src/live/interface.ts:65


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).

Results.rowCount


rows: T[]

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

Results.rows


optional totalCount?: number

Defined in: packages/pgwasm/src/live/interface.ts:64