mirror of
https://github.com/lancedb/lancedb.git
synced 2026-08-26 07:58:31 +00:00
68749ecfa3
Exposes materialized views to TypeScript: createMaterializedView,
openMaterializedView and listMaterializedViews on Connection, and a
MaterializedView handle carrying the parsed definition and
refresh({full, sourceVersion}), which returns the typed refresh result.
select accepts column names, [alias, expression] pairs, or a record of
the
same; the definition reads back off the stored schema, so a reopened
handle
needs no side channel. Remote connections surface the core's
not-supported
error up front.
The napi crate needed the same recursion-limit raise as the core crate:
the
refresh future's type graph overflows the default trait-recursion depth.
<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
42 lines
449 B
Markdown
42 lines
449 B
Markdown
[**@lancedb/lancedb**](../README.md) • **Docs**
|
|
|
|
***
|
|
|
|
[@lancedb/lancedb](../globals.md) / RefreshMaterializedViewResult
|
|
|
|
# Interface: RefreshMaterializedViewResult
|
|
|
|
## Properties
|
|
|
|
### mode
|
|
|
|
```ts
|
|
mode: string;
|
|
```
|
|
|
|
How the view was brought up to date: "rebuild", "incremental" or "no_op".
|
|
|
|
***
|
|
|
|
### rowsWritten
|
|
|
|
```ts
|
|
rowsWritten: number;
|
|
```
|
|
|
|
***
|
|
|
|
### sourceVersion
|
|
|
|
```ts
|
|
sourceVersion: number;
|
|
```
|
|
|
|
***
|
|
|
|
### version
|
|
|
|
```ts
|
|
version: number;
|
|
```
|