PostgresSnapshotQueryStorage
The snapshot query storage of one bounded context on PostgreSQL: the PostgresQueryBackend of each of its aggregate types, over that aggregate's own snapshot table, which PostgresSnapshotStore writes, with the facts PostgresQuerySchemaAdapter reads from the table; and the management of the expression indexes its aggregates declare (manageIndexes). The queries and the facts read dataSource; the indexes are created through ddlDataSource, the store's own, so a dataSource of a read replica (query-data-source) never takes DDL.
Constructors
Properties
Functions
Manages indexes (planned by PostgresQueryIndexes.plan for aggregates of this context) as PostgresQueryOptions.indexDdl says. Blocking: a host calls it once at startup, after the tables exist.
The snapshot table of aggregateName, quoted.