Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Escape characters #51

Open
sdoyen opened this issue Mar 9, 2016 · 2 comments
Open

Escape characters #51

sdoyen opened this issue Mar 9, 2016 · 2 comments

Comments

@sdoyen
Copy link

sdoyen commented Mar 9, 2016

Currently the package does not offer any automated way to escape Neo4j special characters in strings. This is particularly an issue when trying to batch import large data frames containing several character variables.

Perhaps a function similar to dbEscapeStrings() in RMySQL would bring an effective way to deal with this (see here: https://cran.r-project.org/web/packages/RMySQL/RMySQL.pdf)?

Thanks

@nicolewhite
Copy link
Owner

Hey, I'm not following the example in the docs for dbEscapeStrings. Can you show an example of what you want to achieve?

@sdoyen
Copy link
Author

sdoyen commented Mar 9, 2016

Thanks for the reply.

This is one of the scenario where special characters can create the issue:

node = createNode(graph, "label", id = 1, proprety_1 = "This string needs \003escaping")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants