@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¶
The database that unqualified table names in query resolve against.
defaultNamespacePath¶
The namespace path those unqualified names resolve against; empty is the root namespace.
Recorded with the view because it outlives the session that declared it: a reader resolving the query against its own default namespace could read a different table than the view was defined over.
name¶
The view's name within its namespace.
namespacePath¶
The namespace holding the view; empty is the root namespace.
query¶
The defining query, as the database stores it.
schema¶
The schema the defining query resolved to when the view was created.