feat: manage property graphs from the client

Adds create, describe, list and drop for property graphs -- catalog objects
that read tables as the nodes and edges of a graph -- to the Rust Connection,
the remote database, and the Python sync and async connections. Local
connections refuse them, as they do views.
This commit is contained in:
Jack Ye
2026-09-24 23:37:40 -07:00
parent 2216586023
commit b961b1695c
14 changed files with 1202 additions and 2 deletions
+16
View File
@@ -202,6 +202,22 @@ listing a storage directory.
::: lancedb.view.ViewDescription
## Property Graphs
A property graph reads tables as the nodes and edges of a graph. Manage one
with [create_property_graph][lancedb.DBConnection.create_property_graph],
[describe_property_graph][lancedb.DBConnection.describe_property_graph],
[list_property_graphs][lancedb.DBConnection.list_property_graphs] and
[drop_property_graph][lancedb.DBConnection.drop_property_graph].
::: lancedb.graph.NodeTable
::: lancedb.graph.EdgeTable
::: lancedb.graph.Endpoint
::: lancedb.graph.PropertyGraphDescription
## Expressions
Type-safe expression builder for filters and projections. Use these instead