How do I define schemas in HelixDB?
Define the structure of your graph using HelixQL schema definitions. Every node, edge, and vector automatically includes an implicitID field.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to define schemas for nodes, edges, and vectors in HelixDB with type-safe property definitions
ID field.
N::NodeType {
field1: String,
field2: U32
}
E::EdgeType {
From: NodeType,
To: NodeType,
Properties: {
field1: String,
field2: U32
}
}
V::VectorType {
field1: String
}
Was this page helpful?