Files
evento/node_modules/kysely/dist/esm/query-builder/update-result.js
2026-03-18 14:55:56 -03:00

19 lines
572 B
JavaScript

/// <reference types="./update-result.d.ts" />
export class UpdateResult {
/**
* The number of rows the update query updated (even if not changed).
*/
numUpdatedRows;
/**
* The number of rows the update query changed.
*
* This is **optional** and only supported in dialects such as MySQL.
* You would probably use {@link numUpdatedRows} in most cases.
*/
numChangedRows;
constructor(numUpdatedRows, numChangedRows) {
this.numUpdatedRows = numUpdatedRows;
this.numChangedRows = numChangedRows;
}
}