MongoDB and Python Quickstart (5/21): Demo: Defining mongoengine entities (classes)

preview_player
Показать описание

Here we take existing Python classes representing our data in the application and convert them into proper MongoEngine entities by specifying the various field types, required fields, and default values.
Рекомендации по теме
Комментарии
Автор

Hi Michael, great course! Glad u make it "open source" . I have a question that is if i need to make one Collection per user in my system, do i have to write classes for each user? I created several collection directly via mongo shell, but unable to access them from ODM (as there is no class) defined for them. Any suggestion is deeply appreciated. :)

niteshrawat