mongoengine icon indicating copy to clipboard operation
mongoengine copied to clipboard

A Python Object-Document-Mapper for working with MongoDB

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

How do I enforce a custom vailidation on update/modify operation? Both clean method and attribute.validate don't work, they work only on save() Thank you

I've run into a issue with updating a list of embedded documents. There is an easy way around it for now, but I think it qualifies as a bug since...

Hi, I'm a first time mongoengine user and not sure, if this is a bug or I'm not using the system correctly. I have a existing and filled mongo-database, which...

Following the discussion found in https://github.com/MongoEngine/mongoengine/pull/1944#discussion_r232464849. In my company, we have faced an edge case where we might have concurrent "save()" calls failing, please imagine the following situation: If we...

Reloading documents is not working on classes which has references for abstract classes. ``` import mongoengine as me me.connect('test') class Place(me.Document): meta = {'abstract': True} class Inventory(Place): pass class Item(Place):...

Per https://github.com/MongoEngine/mongoengine/issues/2555 - this provides a Dockerized mongo 4 container with a replica set of 1, primed and ready to go. If you don't have a mongo instance running already,...

The docs [presently read](https://github.com/MongoEngine/mongoengine/blob/7d1ba466b466af37b499c44ecf807d65f9967850/mongoengine/base/fields.py#L65-66): > `:param null:` (optional) Is the field value can be null. If no and there is a default value > then the default value is set...

Awaiting Response
Documentation
Field-default-value

Increase the cache to solve the problem that the same clean function will be called multiple times for nested objects with arrays, resulting in the performance of complex documents under...

Awaiting Response

If assign a document to DynamicEmbeddedDocument, DBRef will be used to store the reference. The data can be stored successfully. But mongoengine.errors.FieldDoesNotExist error raised while reading the data from the...