Skip to main content

Module id

Module id 

Source
Expand description

Core identifier types used across NodeDB Origin and Lite.

Strong typing prevents mixing up raw integers/strings. All IDs are serde + rkyv serializable and safe for WASM targets.

Structsยง

ArchivedCollectionId
An archived CollectionId
ArchivedDocumentId
An archived DocumentId
ArchivedEdgeId
An archived EdgeId
ArchivedNodeId
An archived NodeId
ArchivedShapeId
An archived ShapeId
ArchivedTenantId
An archived TenantId
CollectionId
Identifies a collection (table/namespace).
CollectionIdResolver
The resolver for an archived CollectionId
DocumentId
Identifies a document/row across all engines.
DocumentIdResolver
The resolver for an archived DocumentId
EdgeId
Identifies a graph edge. Returned by graph_insert_edge.
EdgeIdResolver
The resolver for an archived EdgeId
NodeId
Identifies a graph node. Separate from DocumentId because graph nodes can exist independently of documents (e.g., concept nodes in a knowledge graph).
NodeIdResolver
The resolver for an archived NodeId
ShapeId
Identifies a shape subscription (globally unique per Origin).
ShapeIdResolver
The resolver for an archived ShapeId
TenantId
Identifies a tenant. All data is tenant-scoped by construction.
TenantIdResolver
The resolver for an archived TenantId