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/type-aliases/LiveQueryWindowRecompile.md
LiveQueryWindowRecompile
ts
type LiveQueryWindowRecompile = "identity" | "dependencies" | "always";Defined in: packages/db/src/live-query-window-binding.ts:70
When a query input compiles again.
- identity: when its identity dependencies change by structure, as for a derived query identity or a queryKey.
- dependencies: when a dependency changes by reference, as for a dependency list.
- always: on every update, as for a reactive rerun, which happens only when something the query reads changed.