Ming icon indicating copy to clipboard operation
Ming copied to clipboard

MongoDB ODM (Object Document Mapper) with Unit of Works, IdentityMap, Relations and Mongo-In-Memory implementation

Results 14 Ming issues
Sort by recently updated
recently updated
newest added

Pymongo 4.x has a lot of breaking changes. See https://pymongo.readthedocs.io/en/stable/changelog.html#changes-in-version-4-0 and https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html Certainly Ming will be affected significantly by save/insert/update/remove/find_and_modify being replaced with `_one` and `_many` versions Pymongo 3.x last...

Formencode no longer supports Python3.9 and seems to have been unmaintained for a few years. We should remove the need for it from Ming.

answer to https://github.com/TurboGears/Ming/pull/45#issuecomment-1133466260 I implemented it using a high level approach, should be good enough to be used with pymongo dictionaries, but I didn't think about supporting other kind of...

class WikiPage(MappedClass): class __mongometa__: session = session name = 'wiki_page' _id = FieldProperty(schema.ObjectId) title = FieldProperty(schema.String(required=True)) text = FieldProperty(schema.String(if_missing='')) I am developing a multiprocess app . For each process, I...

Is there currently any chance to support the relatively new multi-document transactions provided by MongoDB > 4.0?

I have replicated the example in https://ming.readthedocs.io/en/latest/polymorphism.html. I have added a `Bike` and can reproduce the queries below as in the documentation. ```python from ming import schema from ming.odm import...

While working on the fix of #25, I found that sometimes the wrong behavior occurs. On branch [mim_dot_dollar_wrong](https://github.com/TurboGears/Ming/compare/mim_dot_dollar_wrong) this is illustrated by `test_inc_dotted_dollar_middle2` with a $ in the middle of...

Mim does not match mongodb's behavior concerning matching sub-lists with $ne when the field is an empty list. self.bind.db.coll.insert( {'_id':'foo', 'hist': [{'int': 2}]} ) self.bind.db.coll.insert( {'_id':'foo2', 'hist': []} ) self.bind.db.coll.insert(...