Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kysely_postgrs_js_dialect/deps.ts>QueryResult

Kysely dialect for PostgreSQL using the Postgres.js client.
Go to Latest
interface QueryResult
Re-export
import { type QueryResult } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";

Properties

readonly
optional
deprecated
numUpdatedOrDeletedRows: bigint
readonly
optional
numAffectedRows: bigint

This is defined for insert, update, delete and merge queries and contains the number of rows the query inserted/updated/deleted.

readonly
optional
numChangedRows: bigint

This is defined for update queries and contains the number of rows the query changed. This is optional and only provided by some drivers like node-mysql2.

readonly
optional
insertId: bigint

This is defined for insert queries on dialects that return the auto incrementing primary key from an insert.

readonly
rows: O[]

The rows returned by the query. This is always defined and is empty if the query returned no rows.