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:1168
Options for getting current state as changes
Properties#
limit?#
ts
optional limit: number;Defined in: packages/db/src/types.ts:1172
optimizedOnly?#
ts
optional optimizedOnly: boolean;Defined in: packages/db/src/types.ts:1173
orderBy?#
ts
optional orderBy: OrderBy;Defined in: packages/db/src/types.ts:1171
where?#
ts
optional where: BasicExpression<boolean>;Defined in: packages/db/src/types.ts:1170
Pre-compiled expression for filtering the current state