MCPcopy Create free account
hub / github.com/TanStack/db /

Class

packages/db/src/errors.ts:231–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231export class KeyUpdateNotAllowedError extends CollectionOperationError {
232 constructor(originalKey: string | number, newKey: string | number) {
233 super(
234 `Updating the key of an item is not allowed. Original key: "${originalKey}", Attempted new key: "${newKey}". Please delete the old item and create a new one if a key change is necessary.`,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected