cypher-query-builder
cypher-query-builder copied to clipboard
Query typing
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.
@jamesfer is this something that is interesting for the project? Just let me know some of your thoughts