Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...