Use Queryset._query instead of Cursor.__spec for count()

This commit is contained in:
Bastien Gerard
2020-12-13 10:43:26 +01:00
parent aa3ff39ef8
commit c28bb517cb
4 changed files with 27 additions and 45 deletions

View File

@@ -7,6 +7,7 @@ Development
===========
- (Fill this out as you fix issues and develop your features).
- Fix LazyReferenceField dereferencing in embedded documents #2426
- Fix regarding the recent use of Cursor.__spec in .count() that was interfering with mongomock #2425
Changes in 0.21.0
=================