Skip to main content

DROP Can Only Be Applied to Traversals

Erroneous Code Example

This error occurs when you try to use DROP on an expression that is not a traversal.

Solution

Ensure DROP is applied to a traversal that returns nodes, edges, or vectors.