CompletionInfo
import type { CompletionInfo } from "https://raw.githubusercontent.com/jakajancar/pgc4d/master/src/mod.ts";
Query metadata received at the end of execution of a query.
interface CompletionInfo {
numAffectedRows?: number;
}§Properties
§
numAffectedRows?: number
[src]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.