How to create one model that speaks with two databases in Flask, where one is, say, sqlite, and the other is neo4j specifically?
I would like to have a username and password in traditional db and store other graphic information in neo4j. I am told that neo4j is bad for things that require large graph workarounds. Maybe I'm wrong about that, but I have an instance where I would like to say something like ... " return a dict(person.x,person.y,person.z) from all nodes where type==person "and then enter this into the view of my index page.
I saw related questions about ORM with neo4j: ORM with graphical databases like Neo4j in Python
... and this applies to several databases in Flask: http://packages.python.org/Flask-SQLAlchemy/binds.html
In particular, I see that this takes the form of my create statement, which writes the sqlite db connection, and then writes the key to additional relational information from there to neo4j.
source share