Skip to content

readableBase

readableBase(props): VexWriteBase | undefined

Defined in: packages/core/src/db/staleWrite.ts:72

Narrows a caller’s base to the fields they may read on the stored row, so a stale-write answer can never reveal anything about a value the caller cannot see: an unreadable field is left unchecked, and a row the caller cannot read at all is not checked.

StaleWriteReadCheckProps & object

The write’s config, access options and caller, plus the read action and the stored row.

VexWriteBase | undefined

The readable part of base, or undefined when no base was sent.