#1 Tutorial query causes error return

Open
opened 4 years ago by krotik · 0 comments

The query:

lookup Line "3" traverse Line:StationOnLine:Member:Station where has_rail end show Station:name, Station:zone

causes:

Could not determine key of primary node - query needs a primary expression

changing the query to:

lookup Line "3" traverse Line:StationOnLine:Member:Station where has_rail end show name, Station:name, Station:zone

works.

The query: ``` lookup Line "3" traverse Line:StationOnLine:Member:Station where has_rail end show Station:name, Station:zone ``` causes: ``` Could not determine key of primary node - query needs a primary expression ``` changing the query to: ``` lookup Line "3" traverse Line:StationOnLine:Member:Station where has_rail end show name, Station:name, Station:zone ``` works.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.