Hi - I am using prefetch_related as an efficient way to populate a large list of objects whose attributes that are one-to_many relationship.
We have cases where we return a list of around 10,000 objects. This produces an SQL query with an "IN" clause and a list 10,000 IDs. Is it possible to instruct pretch_related to not use the list of objects but to use the query that produced the list instead? Or to explicitly give pretech_related a query to use? If that is not possible is there another way to go about this? Thanks! --Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.