mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-13 14:16:54 +00:00
The refusal test's closure never returns, so its response type needed naming; the Python binding's tuple needed a type alias; ruff and biome wanted their formatting; and the generated JS docs needed the four new verbs and the ViewDescription page.
64 lines
919 B
Markdown
64 lines
919 B
Markdown
[**@lancedb/lancedb**](../README.md) • **Docs**
|
|
|
|
***
|
|
|
|
[@lancedb/lancedb](../globals.md) / ViewDescription
|
|
|
|
# Interface: ViewDescription
|
|
|
|
What a database records about one view.
|
|
|
|
A view holds no rows: it stores the statement that defines it and the
|
|
schema that statement resolved to, so a reader sees its sources as they
|
|
are at read time.
|
|
|
|
## Properties
|
|
|
|
### defaultDatabase
|
|
|
|
```ts
|
|
defaultDatabase: string;
|
|
```
|
|
|
|
The database that unqualified table names in [query](ViewDescription.md#query) resolve against.
|
|
|
|
***
|
|
|
|
### name
|
|
|
|
```ts
|
|
name: string;
|
|
```
|
|
|
|
The view's name within its namespace.
|
|
|
|
***
|
|
|
|
### namespacePath
|
|
|
|
```ts
|
|
namespacePath: string[];
|
|
```
|
|
|
|
The namespace holding the view; empty is the root namespace.
|
|
|
|
***
|
|
|
|
### query
|
|
|
|
```ts
|
|
query: string;
|
|
```
|
|
|
|
The defining query, as the database stores it.
|
|
|
|
***
|
|
|
|
### schema
|
|
|
|
```ts
|
|
schema: Schema<any>;
|
|
```
|
|
|
|
The schema the defining query resolved to when the view was created.
|