Skip to content
Commit d5803bb5 authored by Luke Plant's avatar Luke Plant
Browse files

More efficient IN clauses for prefetch_related queries by use of sets to eliminate duplicates

This simply reduces the size of the IN clause in the SQL, which can be
significant in some cases.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 095dbe88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment