user4279562
user4279562

Reputation: 669

"import-cypher" neo4j exporting to csv without quotes

My neo4j version is 2.1 and I am using neo4j-shell-tools_2.1.zip in order to export data to a csv file in neo4j shell.

In the csv output, I would like to data without quotes and the following command does not seem to work. Is the command only for 2.2 version?

import-cypher -d , -o test.csv  match (p:Product)-[s:RELATED_TO]-(q:Product) return toInt(p.Id), toInt(q.Id) limit 3

The output of the above command in the test.csv looks like below.

"toInt(p.Id)","toInt(q.Id)"
"11505932","5944562"
"9594143","5944562"
"9594203","5944562"

How can I output without quotes? Is it even possible? Thank you.

Upvotes: 1

Views: 391

Answers (1)

Michael Hunger
Michael Hunger

Reputation: 41676

Please raise an issue on GitHub or send a PR.

It would make sense to not use quotes for non-strings.

Upvotes: 0

Related Questions