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 Previously Excluded

Erroneous Code Example

This error occurs when you try to access or include a field that has been previously excluded in the traversal. In this example, the email field is excluded in the traversal, but is being accessed.
Query getUser(userId: ID) =>
    user <- N<User>(userId)::!{email}
    RETURN user::{email}

Solution

Remove the exclusion or access the field after the exclusion.
Query getUser(userId: ID) =>
    user <- N<User>(userId)
    RETURN user::{email}