-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
kind/enhancementSomething could be better.Something could be better.status/acceptedWe accept to work on it.We accept to work on it.
Description
The Stats will never work in Lang cuz needs "@lang" directive.
var(func: has(<name>)) #This will be always empty when using lang.
The correct way.
{
var(func: has(name@en)) {
countValues as count(name@en)
}
nodeCount(func: has(name@en)) {
nodeCount: count(uid)
}
stats() {
totalCount: sum(val(countValues))
avgCount: avg(val(countValues))
}
}
Metadata
Metadata
Assignees
Labels
kind/enhancementSomething could be better.Something could be better.status/acceptedWe accept to work on it.We accept to work on it.