adam-cowley / neode

Neo4j OGM for Node.js
MIT License
391 stars 71 forks source link

[docs] Add write query example to README #157

Open joostdecock opened 3 years ago

joostdecock commented 3 years ago

Took me some digging to figure out that instance.cypher() was an alias for instance.readCypher() and that there's also instance.writeCypher().

Furthermore, running a write query with instance.cypher() throws an error, so I felt it might be a good idea to add the existence of instance.writeCypher() to the README, and to clarify that instance.cypher() is for reading only.

I hope this helps.