DROP Can Only Be Applied to Traversals
Erroneous Code Example
This error occurs when you try to useDROP on an expression that is not a traversal.
Solution
EnsureDROP is applied to a traversal that returns nodes, edges, or vectors.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
DROP on an expression that is not a traversal.
QUERY deleteValue(value: String) =>
DROP value
DROP is applied to a traversal that returns nodes, edges, or vectors.
QUERY deleteUser(id: ID) =>
user <- N<User>(id)
DROP user
N::User {
name: String,
}
Was this page helpful?