odmantic
odmantic copied to clipboard
LazyReference or Reference(lazy=True)
Feature request
Context
Adding a Reference to a Model currently always looks up that reference This is very time consuming and not always wanted
Solution
Having the possibility to define a Ref as Lazy would be awesome see:
- http://docs.mongoengine.org/apireference.html#mongoengine.fields.LazyReferenceField
- https://aiomotorengine.readthedocs.io/en/latest/modeling.html#embedding-vs-referencing
any update on this?