Expand description
Node and edge CRUD operations.
Functionsยง
- append_
edge - Append an edge (INSERT OR IGNORE โ duplicates by ID are skipped).
- delete_
edge - Delete an edge by ID.
- delete_
node - Delete a node by ID. Returns whether a row was deleted.
- edges_
among - Read edges whose source AND target are both in
idsโ the induced subgraph over a candidate node set. - edges_
for_ node - Read edges where the given node is source or target.
- list_
node_ ids - List all node IDs.
- read_
edges - Read edges, capped at
limit. - read_
node - Read a single node by ID. Returns
Noneif not found. - read_
nodes - Batch-read multiple nodes by ID.
- read_
nodes_ limited - Read nodes with optional limit, ordered by updated DESC.
- remove_
edges_ for_ node - Delete all edges connected to a node (source or target).
- upsert_
node - Insert or replace a node.