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

x/pgc4d/src/mod.ts>CompletionInfo

A full-featured PostgreSQL Client for Deno
Latest
interface CompletionInfo
import { type CompletionInfo } from "https://deno.land/x/pgc4d@v1.3.6/src/mod.ts";

Query metadata received at the end of execution of a query.

Properties

optional
numAffectedRows: number

For an INSERT command, rows is the number of rows inserted. For a DELETE command, rows is the number of rows deleted. For an UPDATE command, rows is the number of rows updated. For a SELECT or CREATE TABLE AS command, rows is the number of rows retrieved. For a MOVE command, rows is the number of rows the cursor's position has been changed by. For a FETCH command, rows is the number of rows that have been retrieved from the cursor. For a COPY command, rows is the number of rows copied. Undefined otherwise.