docs: describe full materialized view refresh

This commit is contained in:
Jack Ye
2026-10-02 11:47:41 -05:00
parent b7aa18dc60
commit 1d18a8161b
2 changed files with 3 additions and 7 deletions
+2 -6
View File
@@ -65,10 +65,8 @@ refresh(options?): Promise<RefreshMaterializedViewResult>
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
@@ -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".
***