Home / Companies / Neo4j / Blog / Post Details
Content Deep Dive

How to Export CSV from Neo4j with Curl, Cypher and JQ

Blog post from Neo4j

Post Details
Company
Date Published
Author
Michael Hunger
Word Count
533
Company Posts That Month
19
Language
English
Hacker News Points
-
Post removed?
No
Summary

The author explores using the `jq` command-line JSON processor to export Cypher query results from Neo4j to a CSV file. They start by executing a Cypher statement against the transactional HTTP-API endpoint, which returns the connections between people in the Pokec social network dataset. The author then uses `curl` to send the query and receive the response as JSON. Next, they use `jq` to transform the JSON into CSV format, selecting specific fields and converting them to CSV using various transformers. Finally, they test their approach by extracting data from Neo4j at high speed, transferring 1 GB of data in just 3 minutes with an average transfer rate of 6.2 MB/s.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.