cancel
Showing results for 
Search instead for 
Did you mean: 

Apoc.export.csv.all - Export file location on a Mac

joe1
Node Link

Hi,

I'm executing CALL apoc.export.csv.all("movies.csv", {})
which seems to finish OK - I get "Started streaming 1 records after 1 ms and completed after 774 ms." and "Done = true" but I can't locate the file anywhere in my machine.

I tried also adding a path but that gives me an error : Caused by: java.io.FileNotFoundException.

Any clues where the file is being saved if at all. Or maybe I need to pass other params...

Many thanks

1 ACCEPTED SOLUTION

joe1
Node Link

In response to my own question:

add a "/" in front of the file name and it will be generated in the /dbms-youdbmsid/import folder like so:

call apoc.export.csv.all("/movies.csv", {}) 

View solution in original post

1 REPLY 1

joe1
Node Link

In response to my own question:

add a "/" in front of the file name and it will be generated in the /dbms-youdbmsid/import folder like so:

call apoc.export.csv.all("/movies.csv", {})