我知道我可以通过更改以下行来设置数据库位置/conf/neo4j-server.properties
org.neo4j.server.database.location=data/graph.db
是否可以在 python 实例中执行此操作?例如,我正在使用neo4jrestclient
neo4j_login = {
"username" : "neo4j",
"password" : "supersecret",
"url" : "http://localhost:7474"
}
from neo4jrestclient.client import GraphDatabase
gdb = GraphDatabase(**neo4j_login)
我可以以某种方式将要打开的数据库的位置设置为本地目录吗?