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.

Cannot Access Properties on the Type

Erroneous Code Example

This error occurs when you try to access properties on a type that doesn’t support property access, such as primitive types or certain intermediate query results.
QUERY getValue(count: I32) =>
    result <- count::{value}
    RETURN result

Solution

Ensure you are accessing properties on a node, edge, or vector type that has defined fields.
QUERY getUser(id: ID) =>
    user <- N<User>(id)
    result <- user::{name}
    RETURN result