pydantic-odm icon indicating copy to clipboard operation
pydantic-odm copied to clipboard

Proposal of EmbededDBMixins

Open i8enn opened this issue 5 years ago • 0 comments

Implementation of NestedDBMixin or EmbededDBMixin for save nested pydantic models to mongo (like as EmbededDocument from MongoEngine).

  • [ ] EmbededDocument as separate class
  • [ ] Unpacking EmbededDocument to main model as Pydantic models
  • [ ] Custom type for list of EmbeddedDocument
  • [ ] Search methods for list of EmbeddedDocument
  • [ ] Methods for save model from EmbeddedDocument

i8enn avatar Dec 09 '19 19:12 i8enn