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.

Invalid Primitive Value

Erroneous Code Example

This error occurs when you provide a primitive value that is not valid for the expected type.
QUERY createUser() =>
    user <- N<User>::INSERT { age: "not a number" }
    RETURN user

Solution

Provide a valid primitive value that matches the expected type.
QUERY createUser() =>
    user <- N<User>::INSERT { age: 25 }
    RETURN user