You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/10/07 08:02:47 UTC

[GitHub] [incubator-hugegraph] javeme commented on issue #1972: [Question] 如何使用gremlin实现多字段分组并实现去重

javeme commented on issue #1972:
URL: https://github.com/apache/incubator-hugegraph/issues/1972#issuecomment-1271256109

   按照多个属性分组可以尝试如下语句:
   `g.V().hasLabel('person').group().by(values('profession', 'city'))`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org