dabapps / django-rest-framework-serialization-spec

DEPRECATED, see https://github.com/dabapps/django-readers instead
MIT License
11 stars 0 forks source link

Use Django's exists aggregation logic for exists #59

Closed RealOrangeOne closed 4 years ago

RealOrangeOne commented 4 years ago

For large tables / querysets, this can be significantly faster.

pmg103 commented 4 years ago

Perhaps the name collision between SSM Exists and django's Exists isn't ideal (i called the counting one CountOf partly to avoid a collision there). Hard to think of a suitable nother name though...