Skip to content

Latest commit

 

History

History
62 lines (36 loc) · 1.21 KB

File metadata and controls

62 lines (36 loc) · 1.21 KB
id SubscribeChangesOptions
title SubscribeChangesOptions

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