Django-documentdb

Latest version: v0.0.9

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.0.9

What's Changed
* The distinct operation performance has been significantly improved by changing query from aggregation

db.collection_name.aggregate([{$match: {publicationDate: {$gte: ISODate("2024-09-25T00:00:00Z"), $lte: ISODate("2024-11-07T00:00:00Z")}}}, {$group: {_id: {publicationDate: "$publicationDate"}}}, {$project: {publicationDate: "$_id.publicationDate"}}])

To default distinct operation for simple queries

db.collection_name.distinct("publicationDate", {
'$and': [
{ 'publicationDate': { '$gte': ISODate("2024-09-25T23:00:00.000Z") } },
{ 'publicationDate': { '$lte': ISODate("2024-11-07T23:00:00.000Z") } }
]
})



**Full Changelog**: https://github.com/iYasha/django-documentdb/compare/v0.0.8...v0.0.9

0.0.8

**Full Changelog**: https://github.com/iYasha/django-documentdb/compare/v0.0.7...v0.0.8

0.0.7

What's Changed
* Added simple lookup operation support (https://github.com/iYasha/django-documentdb/pull/10)

**Full Changelog**: https://github.com/iYasha/django-documentdb/compare/v0.0.6...v0.0.7

0.0.6

What's Changed
- Improvements by iYasha in https://github.com/iYasha/django-documentdb/pull/8
- Removed incompatible warning from pymongo
- Docs improvement
- Synced fork with django-mongodb
- Fixed https://github.com/iYasha/django-documentdb/issues/5 (range operation)


**Full Changelog**: https://github.com/iYasha/django-documentdb/compare/v0.0.5...v0.0.6

0.0.5

Changelog
- fixed Unrecognized pipeline stage name: '$unset' and '$sort'

**Full Changelog**: https://github.com/iYasha/django-documentdb/compare/v0.0.4...v0.0.5

0.0.4

Changelog
- Fix project fields

**Full Changelog**: https://github.com/iYasha/django-documentdb/compare/v0.0.3...v0.0.4

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.