|
|
|
|
|
by rozza
4733 days ago
|
|
MongoEngine prefers ODM but documents often have relationships. That comes at some cost in MongoDB and document databases in general. Often it is best to start with the opposite of modelling a relational db - start denormalised and normalise where it makes sense to. The catch with MongoEngine is know that ReferenceFields are dereferenced in the application layer and design your Documents accordingly. |
|