cypher-builder icon indicating copy to clipboard operation
cypher-builder copied to clipboard

Support for index operator on list expressions

Open angrykoala opened this issue 2 years ago • 1 comments

There is no way of generating the following Cypher code with the CypherBuilder, as the index operator is only available on variables

Cypher.collect(var)[0]

angrykoala avatar Nov 03 '23 14:11 angrykoala

There are 2 approaches to this:

  • Make Expr a class with an index method (this is probably breaking)
  • Add an index function that accepts an Expr and index number

angrykoala avatar Jul 30 '24 09:07 angrykoala