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

Hi everyone, I was trying to figure out how to properly use `choices` in a given field when defining a schema and I'm not sure if I've stumbled into something...

Starting with version 3.2, MongoDB supports document validation on the server: https://docs.mongodb.com/manual/core/document-validation/ It would be pretty cool if MongoEngine could create and manage the validator, similar to how it already...

Enhancement

![image](https://github.com/MongoEngine/mongoengine/assets/19927742/783aa9d1-b23f-4fd6-a1fb-0e6354770730) I already inherited from Document class but the objects can not be hinted when i type it. However, the other functions can be correctly founded by pylance language server....

This is the minimal example I found: ```python class Comment(EmbeddedDocument): content = StringField() class Post(Document): title = StringField() comments = EmbeddedDocumentListField(Comment) if Post.objects.count() == 0: for i in range(100): Post(title=f"{i}",...

Migrating from Djongo here, and my current data involves - _id: the automatic ObjectId field id: Django-style integer field with a unique index. As I want to maintain compatibility between...

Hi, Mongoengine is currently version 0.28.2 but searching for mongoengine documentation shows the result that the documentation version is 0.27.0. Inside the site itself it says latest, but there is...

Upon attempting to access a ListField wrapping a GenericLazyReferenceField the above internal error is thrown. Here are the relevant portions of my use case: ``` class Image(db.Document): __api__ = "img"...

Hi all, I have encountered a problem dereferencing instances when that have a primary key that is a UUID that is stored in mongodb as a string. ``` python class...

Bug
Awaiting Response
Discussion