exists()
vs. count()
References
[1] Sam Odio@StackOverflow, In Django, what is the most efficient way to check for an empty query set?
exists()
vs. count()
[1] Sam Odio@StackOverflow, In Django, what is the most efficient way to check for an empty query set?