Unknown Edge Type
Erroneous Code Example
This error occurs when you try to reference an edge type that is not defined in your schema.Solution
Define the edge typePosted in your schema.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 CLI v2 is now live! See Getting Started for details.
QUERY getUsersPosts(id: ID) =>
posts <- N<User>(id)::Out<Posted>
RETURN posts
Posted in your schema.
N::User {
// fields
}
N::Post {
// fields
}
E::Posted {
From: User,
To: Post,
}
Was this page helpful?