SnapshotQueries

The snapshot queries of one store: the binding of each aggregate type's backend and storage facts and, for a backend that manages the indexes an aggregate's x-wow-index declares, how it prepares the aggregate's storage and manageIndexes them at startup.

Properties

Link copied to clipboard

Whether it manages the indexes (manageIndexes).

Functions

Link copied to clipboard

Manages plan, type's indexes as the core planned them on its query model, as StoreQueryOptions.indexDdl says: creates the missing ones under auto, reports them under validate.

Link copied to clipboard
open fun prepare(type: AggregateType)

Makes sure type's storage exists, so that its facts are the storage's own (a table created on first write).