Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

currentstateaschangesoptions.md

50 lines1021 Bytes

Interface: CurrentStateAsChangesOptions<T>

Defined in: packages/db/src/types.ts:587

Options for getting current state as changes

Type Parameters

• T extends object = Record<string, unknown>

Properties

where()?

optional where: (row) => any;

Defined in: packages/db/src/types.ts:591

Filter the current state using a where expression

Parameters

row

SingleRowRefProxy<T>

Returns

any


whereExpression?

optional whereExpression: BasicExpression<boolean>;

Defined in: packages/db/src/types.ts:593

Pre-compiled expression for filtering the current state