Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add write query example to README #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joostdecock
Copy link

@joostdecock joostdecock commented May 27, 2021

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.

Took me some diffing 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant