django-nonrel/djangotoolbox — pull request #24 by emperorcezar (2012-03-26 21:16:50+00:00)
Title: Allow for querying empty lists

I come across the case where I would want to see if a list is empty.

This allows for that to work on mongodb. In appengine, this gets shortcut by the check at https://github.com/django-nonrel/djangoappengine/blob/develop/db/compiler.py#L186 so there is no change on appengine.