Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

E104

For the complete documentation index optimized for AI agents, see llms.txt.

Cannot Access Properties on This Type

Erroneous Code Example

This error occurs when you try to access properties on a type that doesn’t support property access.

QUERY getValue(x: I32) =>
    result <- x::{value}
    RETURN result

Solution

Ensure you are accessing properties on a node, edge, or vector type that has defined fields, not on primitive types.

QUERY getUser(id: ID) =>
    user <- N<User>(id)
    result <- user::{name}
    RETURN result
N::User {
    name: String,
}