jamesfer / cypher-query-builder

An flexible and intuitive query builder for Neo4j and Cypher.
http://jamesfer.me/cypher-query-builder/index.html
MIT License
106 stars 22 forks source link

Support of aggregation functions #180

Open gfrancsics opened 3 years ago

gfrancsics commented 3 years ago

Please write me some example how to use the count or collect aggregations with the cypher query builder? In the query language they are available but I can't find here. https://neo4j.com/docs/cypher-manual/current/functions/aggregating/ Thank you

databu commented 2 years ago

You need to use .raw for now: qb.raw("RETURN collect(something)");