Module

x/kysely_postgrs_js_dialect/deps.ts>kysely.QueryResult

Kysely dialect for PostgreSQL using the Postgres.js client.
interface kysely.QueryResult
import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { QueryResult } = kysely;

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.

import kysely.QueryResult
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { QueryResult } = kysely;