Motor-ODM
Motor-ODM copied to clipboard
Support Views
Motor-ODM should support creating views. A View
class could be a subclass of Document
supporting the respective keys in the Mongo
class. The creation of a view should happen in a dedicated method but can also happen lazily on first access.
Alternatively View
and Document
might have a common base class.