Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-13-2020 01:33 AM
I searched and tested several hours and solved it like this:
:param jsontype : {akey:'avalue'}
Hey guys please!
11-13-2020 12:59 PM
Hi, Do you have a question, or are you indicating documentation somewhere needs to be updated? (I don't see a reference/url)
11-16-2020 01:10 AM
Yea, I mean if it's really working with ":" not with "=>" then you must notify this important syntax correctly in the manual of the product which we sell to customers for million dollars.
11-16-2020 07:17 AM
After a little digging on parameters, I can confirm a few things
:param variableName => 'simple value'
works as documented (simple data e.g. integer, string, float):param variableName => {mapStructureData: 'test'}
does not work (for maps):param variableName : {complexMap: 'test'}
does appear to work (with maps) However, if this is the correct syntax to use, I could not find it anywhere in the documentation, or in community discussions. (though there are a few interesting discussions)Notes:
The old parameter syntax
{param}
was deprecated in Neo4j 3.0 and removed entirely in Neo4j 4.0. Using it will result in a syntax error. However, it is still possible to use it, with warnings, if you prefix the query withCYPHER 3.5
. See Cypher Compatibility for further information.
11-16-2020 05:18 PM
Thank you for your effort about this matter. Neo4j must handle this.
All the sessions of the conference are now available online