4 ms·
I'm really confused why I would want a ORM for a graph database. Seems like its a totally different usecase
by kanwisher 13y ago
I'm really confused why I would want a ORM for a graph database. Seems like its a totally different usecase
- mhluongo 13y agoNot really- objects map better to graphs than relational databases, actually! I typically try to market the project as an OGM - Object Graph Mapper - but there's a bit of confusion there, since it uses the DSL established by the Django ORM. In addition to providing the familiar data-access DSL established by Django for Neo4j, the project also enables auth and admin support atop the graph.
- skrebbel 13y agoIn Neo4J, every node and every edge can have a label and a set of key-value pairs. A label maps very naturally to a class, and its keys map very naturally to fields of that class. Thus, ORM (ehh, OGM really?) makes a lot of sense.