In the neomodel documentation it's possible to specify the neo4j connection string using the following statement:
from neomodel import config
config.DATABASE_URL = 'bolt://neo4j:neo4j@localhost:7687'
On neo4j 4.1, I am using multiple databases under the same server. I would like to specify the database I am using either in the connection string or somewhere else.
In py2neo I can do something like this:
graph = Graph(host='localhost', port=7687, auth=('neo4j','pwd'), name='dbname')
Is there any way to do this in neomodel?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…