mongoengine icon indicating copy to clipboard operation
mongoengine copied to clipboard

A Python Object-Document-Mapper for working with MongoDB

Results 169 mongoengine issues
Sort by recently updated
recently updated
newest added

## Background MongoDB version: 4.2.6 mongoengine version: 0.23.1 pymongo: 3.12.0 In my scenario, I need to connect with `authentication_source` and `authentication_mechanism` and then do some queries. My code goes like...

The `put()` method of the `ImageGridFsProxy` opens and saves images before storing them to gridfs. During saving of the image, as `Image.save()` is used without keyword arguments the default behavior...

Consider the following code: ``` class TestModel(db.Document): test = db.DictField() obj = TestModel() obj.test['key.with.dot'] = 'abc' obj.save() ``` I think this should work, because MongoDB allows dots in dict key...

the django ORM has a similar function to the existing `in_bulk` method. https://docs.djangoproject.com/en/3.2/ref/models/querysets/#in-bulk https://github.com/MongoEngine/mongoengine/blob/96802599045432274481b4ed9fcc4fad4ce5f89b/mongoengine/queryset/base.py#L722-L745 It also provides an additional `field_name` parameter, which makes it easy to load objects in bulk...

Hi there! Long time mongoengine user, first time (potential) contributor here. I started poking around the tickets regarding transaction support and thought I might take a crack at that. When...

We use `mongoengine==0.23.0` and utilize `get_db()` to check if `mongoengine.connect()` returns an authenticated `pymongo.connection.Connection` object. The behaviour is as expected if the password is incorrect, we get a `Authentication failed.,...

Hi guys, As usual, I hope I am not missing something so apologies in advance if I did. To keep the story short the User Guide http://docs.mongoengine.org/guide/querying.html#atomic-updates says that operators...

Hi, I have a document defined with GenericEmbeddedDocumentField field; ``` class BrandItem(mg.Document): """ BrandItems of a brand in the inventory """ # inventory name of the brandItem name = StringField(required=True,...

`Q` and `QCombination` can be combined with `&` and `|`, which is really cool! I have experimenting with writing a search query parser for a university project, that takes `something...

In my project we are using flask framework and we are using mongoengine and marshmallow to define the model and schema files. I was trying to implement automatic CSFLE for...