SubscribeChangesOptions

Interface: SubscribeChangesOptions

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

Options for subscribing to collection changes

Properties

includeInitialState?

ts
optional includeInitialState: boolean;
optional includeInitialState: boolean;

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

Whether to include the current state as initial changes


whereExpression?

ts
optional whereExpression: BasicExpression<boolean>;
optional whereExpression: BasicExpression<boolean>;

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

Pre-compiled expression for filtering changes

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.