Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-23-2020 10:29 AM
I can execute in apoc statement in the browser, but haven't found examples on how to use it in the python code with botl driver library installed.
For example, I put this into a test_apoc.py file:
call apoc.bolt.load("","match(p:Person {name:{name}}) return p", {name:'Michael'})
CALL apoc.export.csv.all("movies.csv", {})
My PyCharm editor displays both 'call' and 'CALL' as unresolved reference variables. How to configure the APOC library with the driver api to work?
Plugin is already in the plugin folder.
ls plugins/
README.txt apoc-4.0.0.13-all.jar
Also, in this link:
By default exporting to the file system is disabled. We can enable it by setting the following property in `apoc.conf` :
apoc.export.file.enabled=true
So should I create a 'apoc.conf' and put it in the same fold as conf/neo4j.conf?
10-23-2020 11:57 AM
I think I know how to use it. It's part of cypher statement string.
10-23-2020 04:48 PM
Hi @lingvisa
Please create apoc.conf in the conf directory.
conf/apoc.conf <- Create
conf/neo4j.conf
and write this.
apoc.export.file.enabled=true
and Restart Neo4j
10-23-2020 08:49 PM
I didn't change here, but it can already export to the import/ directory. So why to create this new conf? Not clear. Thanks.
10-24-2020 05:47 PM
Hi @lingvisa
Isn't there an "apoc.export.file.enabled=true" in neo4j.conf instead of apoc.conf?
It works for both.
All the sessions of the conference are now available online