Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.helix-db.com/llms.txt

Use this file to discover all available pages before exploring further.

For the complete documentation index optimized for AI agents, see llms.txt.

Field Not in Schema

Erroneous Code Example

This error occurs when you reference a field that is not defined in your schema for a given item type. For example, the field username is not defined in the schema for the User item type.
QUERY getUser(id: ID) =>
    user <- N<User>(id)
    RETURN user::{username}

Solution

Define the field username in the schema for the User item type.
N::User {
    username: String,
    age: U32,
}