#1 Tutorial query causes error return

Avoinna
5 vuotta sitten avasi krotik · 0 kommenttia

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.
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei tunnistetta
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.