Open History to see the last commit
Interface: SubscribeChangesOptions<T>#
Defined in: packages/db/src/types.ts:573
Options for subscribing to collection changes
Type Parameters#
• T extends object = Record<string, unknown>
Properties#
includeInitialState?#
optional includeInitialState: boolean;
Defined in: packages/db/src/types.ts:577
Whether to include the current state as initial changes
where()?#
optional where: (row) => any;
Defined in: packages/db/src/types.ts:579
Filter changes using a where expression
Parameters#
row#
SingleRowRefProxy<T>
Returns#
any
whereExpression?#
optional whereExpression: BasicExpression<boolean>;
Defined in: packages/db/src/types.ts:581
Pre-compiled expression for filtering changes