Skip to content

Conversation

@woakas
Copy link
Contributor

@woakas woakas commented Oct 17, 2013

If my queryset have elements example:

qs.all().count() => 10
q = qs.all().none()

the count in queryset "q" must be 0
q.count() => 0

If my queryset have elements example:

qs.all().count() => 10
q = qs.all().none()

the count in queryset "q" must be 0
q.count() => 0
@rozza
Copy link
Contributor

rozza commented Oct 22, 2013

Thanks will mark down for the next 0.8.x release

rozza added a commit that referenced this pull request Nov 29, 2013
Fixed bug for count method when _none is True
@rozza rozza merged commit 7200a8c into MongoEngine:master Nov 29, 2013
rozza added a commit that referenced this pull request Nov 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants