'How to query a document from a specific collection im MongoEngine
is there a way to query documents from a specific collection via mongoengine?
e.g:
class GroupDetailData(Document):
user_name = StringField(Required = True, unique = True)
meta = {
'db' : 'group-messaging',
}
*lets say that we have 3 docs under a collection named 'a' and a collection named 'b'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
