DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/interfaces/CurrentStateAsChangesOptions.md
CurrentStateAsChangesOptions
Defined in: packages/db/src/types.ts:1332
Options for getting current state as changes
Properties#
limit?#
ts
optional limit?: number;Defined in: packages/db/src/types.ts:1336
optimizedOnly?#
ts
optional optimizedOnly?: boolean;Defined in: packages/db/src/types.ts:1337
orderBy?#
ts
optional orderBy?: OrderBy;Defined in: packages/db/src/types.ts:1335
where?#
ts
optional where?: BasicExpression<boolean>;Defined in: packages/db/src/types.ts:1334
Pre-compiled expression for filtering the current state