docs: clarify local MV version pinning

This commit is contained in:
Jack Ye
2026-10-02 11:47:41 -05:00
parent d4f5c718ad
commit f2f35c0413
4 changed files with 11 additions and 7 deletions
+3 -2
View File
@@ -187,8 +187,9 @@ export class MaterializedView {
/**
* Recompute the view from its source.
*
* Every refresh rebuilds the complete view. `sourceVersion` refreshes to
* that source version instead of the latest.
* Every refresh rebuilds the complete view. For local views,
* `sourceVersion` refreshes to that source version instead of the latest;
* remote SQL refreshes do not support source-version pinning.
*/
async refresh(options?: {
sourceVersion?: number;