• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Neo4j CREATE 2022+ syntax Node.js

Resolved: Neo4j CREATE 2022+ syntax Node.js

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

What is the currently acceptable syntax for sending a CREATE script from Node.js to Neo4j in 2022 and after?
I am getting several errors trying to pass in dynamic props from form input fields.
I need to create a new record from my form inputs using Node.js.
This is an example of a syntax that is no longer accepted:

Answer:

The syntax you’re using is deprecated. Parameters are now identified with the dollar symbol $ instead of curly brackets {}. That means you need to update your query to:
See relevant documentation here: https://neo4j.com/docs/cypher-manual/current/syntax/parameters/

If you have better answer, please add a comment about this, thank you!

javascript neo4j node.js
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: How can I implement a function depending on picked up items?

01/04/2023

Resolved: Azuer Service Bus SDK not receiving the specified messages

01/04/2023

Resolved: how to change date format from 201904 to Apr-19 in excel

01/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.