-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Description
Hello gents,
In recent versions of mysql2, the changedRows
result set header is not deprecated (see below).
The documentation says to use affectedRows
instead, which really isn't the same information though.
Curious about the rationale for this deprecation and possible alternative for this property?
Many thanks
declare interface ResultSetHeader {
constructor: {
name: 'ResultSetHeader';
};
affectedRows: number;
fieldCount: number;
info: string;
insertId: number;
serverStatus: number;
warningStatus: number;
/**
* @deprecated
* `changedRows` is deprecated and might be removed in the future major release. Please use `affectedRows` property instead.
*/
changedRows: number;
}
Metadata
Metadata
Assignees
Labels
No labels