module

Ktistec::Database::ReconcileMaterializedViews

The one-time materialized-view cutover.

Reconciles every registered view so its stored rows equal its membership query.

Constants

Pre-typed base relationship types retired (long) before the materialized-view cutover.

Instance methods

run(db)

Reconciles every registered view, then purges the orphaned base types.

Not atomic: each view reconciles under its own savepoint and the orphan deletes run in autocommit. This is operation is idempotent.

Source