Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-17-2018 02:30 AM
Is there anyway with which we can fetch the aggregates(like count) grouped by some property of the node without writing custom-query in the code using SDN/OGM.
Any help is appreciated. Thanks in advance.
01-30-2019 05:28 AM
Hi, since Cypher does not have any groupBy
capability we do not offer anything out-of-the-box for grouping entities. The only, common way to achieve this is adding a count(<groupProperty>)
to a custom query and parsing the result by yourself.
The data in the same "row" should get mapped by OGM in some form of collection if OGM knows about the domain classes you want to get.
All the sessions of the conference are now available online