From 1d18a8161b1dd97cf945c3249d6de8f24ee6d2ab Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Fri, 2 Oct 2026 09:35:53 -0500 Subject: [PATCH] docs: describe full materialized view refresh --- docs/src/js/classes/MaterializedView.md | 8 ++------ docs/src/js/interfaces/RefreshMaterializedViewResult.md | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/src/js/classes/MaterializedView.md b/docs/src/js/classes/MaterializedView.md index 58eaa3c13..c6f9f15ef 100644 --- a/docs/src/js/classes/MaterializedView.md +++ b/docs/src/js/classes/MaterializedView.md @@ -65,10 +65,8 @@ refresh(options?): Promise Recompute the view from its source. -The refresh is incremental when the source's changes can be reconciled -into the view -- rows added, changed or removed since the last one -- -and otherwise rebuilds. `full` forces a rebuild; `sourceVersion` -refreshes to that source version instead of the latest. +Every refresh rebuilds the complete view. `sourceVersion` refreshes to +that source version instead of the latest. Concurrent refreshes of one view do not duplicate its rows. Two that plan the same source rows conflict on commit, and the loser throws @@ -78,8 +76,6 @@ rather than writing them a second time. * **options?** -* **options.full?**: `boolean` - * **options.sourceVersion?**: `number` #### Returns diff --git a/docs/src/js/interfaces/RefreshMaterializedViewResult.md b/docs/src/js/interfaces/RefreshMaterializedViewResult.md index cb7100cd8..642b76c41 100644 --- a/docs/src/js/interfaces/RefreshMaterializedViewResult.md +++ b/docs/src/js/interfaces/RefreshMaterializedViewResult.md @@ -14,7 +14,7 @@ mode: string; ``` -How the view was brought up to date: "rebuild", "incremental" or "no_op". +How the view was brought up to date. Materialized views currently always use "rebuild". ***