Files
lancedb/docs/src/js/interfaces/ViewDescription.md
T
Jack Ye aca1c2f0bd fix: satisfy the lint and docs gates for the view APIs
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.
2026-09-22 22:09:20 -07:00

919 B

@lancedb/lancedb • Docs


@lancedb/lancedb / 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

defaultDatabase: string;

The database that unqualified table names in query resolve against.


name

name: string;

The view's name within its namespace.


namespacePath

namespacePath: string[];

The namespace holding the view; empty is the root namespace.


query

query: string;

The defining query, as the database stores it.


schema

schema: Schema<any>;

The schema the defining query resolved to when the view was created.