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.

Unknown Type for Parameter

Erroneous Code Example

This error occurs when you specify an unknown type for a query parameter that is not a primitive type or a type defined in your schema.
QUERY getItem(data: UnknownType) =>
    RETURN data

Solution

Use a primitive type (String, I32, U32, F64, Bool, ID, etc.) or declare the type in your schema.
QUERY getUser(id: ID) =>
    user <- N<User>(id)
    RETURN user