Reputation: 12649
I'm trying to create a parameter in the cypher console with the following command:
:param props => { status: "closed" }
However, it's throwing me the error
Is it possible to create a map/object in the cypher console?
indicates that it can
Upvotes: 0
Views: 614
Reputation: 5385
In Neo4j Desktop 1.2.9 with Neo4j 4.0.4 it works
But in other versions, you may try
:param props: {status:"closed"}
or
:param props: {"status":"closed"}
the latter being the equivalent of what is said in the manual you refer to.
Upvotes: 2