#1 Tutorial query causes error return

Aperto
aperto 5 anni fa da krotik · 0 commenti
Matthias Ladkau ha commentato 5 anni fa

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.
Nessuna etichetta
Nessuna milestone
Nessun assegnatario
1 Partecipanti
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.