jamesfer / cypher-query-builder

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

Query typing #177

Open Bastianowicz opened 3 years ago

Bastianowicz commented 3 years ago

I introduced a returnObject-Method to allow the following statement: RETURN { foo: bar } and an optional generic G which represents the graphmodel of the cypher (the nodes and relations that are accessable in the methods). This prevents you from comparing or using non-existent properties, nodes or relations. 99% of the changes are compatible with former versions and the new generics are all optional.

Bastianowicz commented 3 years ago

@jamesfer is this something that is interesting for the project? Just let me know some of your thoughts