QueryResult
interface QueryResult <O> {
readonly insertId?: bigint;
readonly numAffectedRows?: bigint;
readonly numChangedRows?: bigint;
readonly numUpdatedOrDeletedRows?: bigint;
readonly rows: O[];
}§Properties
§
readonly insertId?: bigint
[src]This is defined for insert queries on dialects that return the auto incrementing primary key from an insert.
§
readonly numAffectedRows?: bigint
[src]This is defined for insert, update, delete and merge queries and contains the number of rows the query inserted/updated/deleted.