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.

Identifier Expected to be of Type ID

Erroneous Code Example

This error occurs when an identifier is expected to be of type ID but a different type was provided.
QUERY getUser(userId: String) =>
    user <- N<User>(userId)
    RETURN user

Solution

Ensure the identifier is of type ID.
QUERY getUser(userId: ID) =>
    user <- N<User>(userId)
    RETURN user