#1 Tutorial query causes error return

Aberta
aberta %!s(int64=5) %!d(string=hai) anos por krotik · 0 comentarios

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.
Accede para unirte á conversa.
Sen etiquetas
Sen fito
Sen asignado
1 participantes
Cargando...
Cancelar
Gardar
Aínda non existe contido.