On 10/16/07, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> you can use the extra() method of QuerySet:
>
> Example: Entry.objects.extra(where=['id IN (3, 4, 5, 20)'])
>
How is this different from __in, and where did that list of numbers
come from? :)
Hi,
you can use the extra() method of QuerySet:
Example: Entry.objects.extra(where=['id IN (3, 4, 5, 20)'])
http://www.djangoproject.com/documentation/db-api/#extra-select-none-where-none-params-none-tables-none
Am Dienstag, 16. Oktober 2007 14:29 schrieb Rufman:
> in SQL terms this is what
2 matches
Mail list logo