mongoengine
How does MongoEngine handle Indexes (creation, update, removal)?
Best practice question about setting Mongo indexes.Mongoengine, the Python ORM wrapper, allows you to set indexes in the Document meta class.[详细]
2023-04-13 09:03 分类:问答Mongoengine document consistency under concurrency
I am trying to create a dummy wrapper class ( a mongoengine Document ) that implements the interface of Redis hashes. For example:[详细]
2023-04-12 10:06 分类:问答MongoEngine 0.5: RuntimeError: maximum recursion depth exceeded while calling a Python object
>>> from mongoengine import * >>> connect(\'foo\') >>> class Foo(Document): ...bar = ListField(ReferenceField(\'Foo\'))[详细]
2023-04-10 13:09 分类:问答tornado realtime stream from twitter, uimodules & async db
I\'m working on my first tornado project and i have some questions : 1- apart of the project is collecting and categorizereal time hash-tags and tweets form different twitter users is and put them on[详细]
2023-04-10 10:14 分类:问答Mongoengine unique_with
I am using mongoengine with MongoDB. I have to make a Document in which the tuple (merchant_id, order_id, event_type) has to be a unique key.[详细]
2023-04-10 04:44 分类:问答added new boolean field to an existing django Mongoengine model, but after can not filter for this field
First my django model was like this: class List(Document): owner = ReferenceField(\'User\') name = StringField()[详细]
2023-04-09 14:13 分类:问答MongoEngine User authentication (django)
I am trying to use MongoEngine in a django project I am writing. I am having difficulty getting (or understanding how) the authentication backend works.[详细]
2023-04-06 01:57 分类:问答Filtering an embedded list in MongoEngine
If I have these models: class Sub(EmbeddedDocument): name = StringField() class Main(Document): subs = ListField(EmbeddedDocumentField(Sub))[详细]
2023-04-04 02:04 分类:问答Sort using MongoEngine?
How do I sort the query objects in MongoEngine, like I开发者_运维问答 would in a regular mongodb query?[详细]
2023-04-03 09:42 分类:问答Adding fields on demand to a Document
say I have this documents: from mongoengine import Document, EmbeddedDocument,fields import datetime class EmbeddedColumn(EmbeddedDocument):[详细]
2023-04-03 00:35 分类:问答