Skip to content

invalidateAccessorCache

Invalidate cached accessor values for a row (after in-place mutation), a single (row, field) pair, or — when called with no argument — clear the entire cache. Immutable updates auto-invalidate via row identity.

Edit/transaction paths that mutate row objects in-place must call this.

function invalidateAccessorCache(row: object, field: string): void
NameTypeDescription
rowobject
fieldstring
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt