This error occurs when you try to use a step that is not valid in the current context.In this example, the OutE<Knows> step results in edges, but the Out step can only be used on nodes.
Copy
Ask AI
Query getUser() => user <- N<User>::OutE<Knows>::Out<Knows> RETURN user