cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Exporting Neo4J 3.3.9 to a CSV file

deemeetree
Graph Buddy

Hello, I'm trying to export some data from my Neo4J db 3.3.9 to a CSV file and I use this:

match (c:Context{name:'networkScience'})<-[rels:IN]-(s:Statement) WITH collect(distinct c) AS co, collect(distinct s) AS st, collect(distinct rels) as rrels CALL apoc.export.csv.data(co+st,rrels,"s-m.csv", {}) RETURN st;

But I get an error Procedure call inside a query does not support naming results implicitly (name explicitly using YIELD instead) (line 2, column 158 (offset: 158))

How to export the data correctly?
Thanks!

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online