The Users category is meant for asking questions and discussing things. However, we have specific categories for some things. We would appreciate if you could post in the correct category.
Is Your Question About
Correct Category
Dgraph
Users > Dgraph
GraphQL
Users > GraphQL
Slash GraphQL
Users > Slash GraphQL
Ratel
Users > Ratel
Badger
Users > Badger
Ristretto
Users > Ristretto
Otherwise, you may continue posting here.
------------------------------------------------ … ------------------------------------------------
[MODEL]
type Person {
pname string
}
type Car {
color string
link Person
}
pname: string @index(exact) .
color: @string@index(exact) .
link: uid @reverse .
I want to query one car’s all info by pname, BUT the query not work
{
node(func: eq(pname, “wZGWuMneOg”)) {
~link{
tar as uid
}
}
q(func: uid(tar)) @recurse{
expand(all)
}
}
FYI
The official user guide is so unfriendlly and example is too less. Really want to give up using DGraph