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.

Missing Item Type

Erroneous Code Example

This error occurs when an item type is required but not provided in your query. In this example, the User item type is required but not provided.
Query getUser(userId: ID) =>
    user <- N(userId)
    RETURN user

Solution

Specify the required item type within the < and > brackets after the traversal step in your query.
Query getUser(userId: ID) =>
    user <- N<User>(userId)
    RETURN user