-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area/querylangIssues related to the query language specification and implementation.Issues related to the query language specification and implementation.area/querylang/groupbyIssues related to the @groupby directive.Issues related to the @groupby directive.kind/enhancementSomething could be better.Something could be better.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Milestone
Description
RIDE is a node and DRIVER and RIDER are edges coming out of RIDE. Driver and RIDER are different nodes as well. I need to query the rides which has the same driver-rider pair.
{
q(func:eq(name,"RIDE")) @groupby(rider,driver) {
count(_uid_)
}
}
I should be able to filter the query as i want to display the rides having count greater than 1. Otherwise i am getting a big list of rides and i need to write application logic.
Metadata
Metadata
Assignees
Labels
area/querylangIssues related to the query language specification and implementation.Issues related to the query language specification and implementation.area/querylang/groupbyIssues related to the @groupby directive.Issues related to the @groupby directive.kind/enhancementSomething could be better.Something could be better.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.