Refuses a supplied primary key differing from the key addressed by an update.
Own, defined payload fields alone participate. Dates compare by time;
strings, numbers, bigints and ObjectId-like objects compare by String;
all other values compare by Object.is. Unknown id shapes are left to
the adapter's existing key validation.
Parameters
entity: string
The addressed entity
keyColumns: readonlystring[]
Its primary-key columns
id: unknown
The scalar key or record of key-column values
data: Readonly<Record<string,unknown>>
The update payload
Returns void
Nothing when the supplied key is unchanged or absent
Refuses a supplied primary key differing from the key addressed by an update. Own, defined payload fields alone participate. Dates compare by time; strings, numbers, bigints and ObjectId-like objects compare by
String; all other values compare byObject.is. Unknown id shapes are left to the adapter's existing key validation.