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

Issue https://github.com/MongoEngine/mongoengine/issues/1594 (related: https://github.com/MongoEngine/mongoengine/pull/2193) suggests that it has resolved the issue with having dots in a key name. However, this does't seem to be the case. Tested with mongoengine==0.22.1 and...

Opening this because I'm making a PR related to it. This seems so essential!!!

When saving a document with a `ReferenceField` holding a new object, I get an error: ``` mongoengine.errors.ValidationError: ValidationError You can only reference documents once they have been saved to the...

Enhancement

Hi, Is there any chance that MongoDB 4.0 multi-document ACID transactions feature gets supported by mongoengine? Thanks.

feature

# MODEL PROPERTY status = StringField(default="A") # A, B, C # UNSET FUNCTION model_class.update(unset__status=1) :- This operation delete status from given model # MODIFY model_class.status = 'C' model_class.save() :- This...

`save()` only saves changed fields in existing documents, This is pretty fine, but it saves with `upsert=True`! So, if someone deleted the document in the meanwhile, we end-up with a...

Bug
High Priority

MongoDB added a new native type for handling floating point numbers called [NumberDecimal](https://docs.mongodb.com/manual/core/shell-types/#shell-type-decimal) in `3.4`. See the following documentation for details: https://docs.mongodb.com/manual/tutorial/model-monetary-data/#using-the-decimal-bson-type MongoEngine lacks a corresponding field that allows you...

[https://stackoverflow.com/questions/56160585/is-there-any-module-for-handling-database-changes-that-leverages-mongoengine-to](https://stackoverflow.com/questions/56160585/is-there-any-module-for-handling-database-changes-that-leverages-mongoengine-to) Like ```alembic``` and ```sqlalchemy```. Is there any module for handling database changes that leverages ```mongoengine``` to perform the migrations ?

Model Migration

Hi Team, We are developing a application [ Django + RestAPI + Mongoengine ] where we will be using separate db for each user's .So there will be lots of...

I've a simple document with a `StringField` with a default of an empty string (`""`). When I retrieve a document, and save, it does not record it as a field...

Field-default-value