On Tue, Oct 12, 2010 at 9:00 AM, Javier Guerra Giraldez
<[email protected]>wrote:

> On Tue, Oct 12, 2010 at 10:46 AM, Nick Arnett <[email protected]>
> wrote:
> > Anybody know a good way to do this?
>
> Words.objects.filter(foo__in=mylist)


Didn't even occur to me to not use raw SQL for this, but I could... trouble
is, I wanted this to be reusable in a way that will be clumsy in the ORM.
 But maybe I'll go that route.  I'm using raw SQL for a lot of this because
the ORM is way too slow for what I'm doing.

Nick

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to