On 4/30/06, Cheng Zhang <[EMAIL PROTECTED]> wrote:
> I tried lookup like Article.objects.filter(id__in = []), which will
> have SQL statement whose where clause is something like 'WHERE
> ("poll_article"."id" IN ())'. Such SQL statement is ok with SQLite
> but invalid for PostgreSQL.
>
> I work
On Apr 30, 2006, at 1:31 PM, Ivan Sagalaev wrote:
>
> Cheng Zhang wrote:
>
>> I tried lookup like Article.objects.filter(id__in = []), which will
>> have SQL statement whose where clause is something like 'WHERE
>> ("poll_article"."id" IN ())'. Such SQL statement is ok with SQLite
>> but
Cheng Zhang wrote:
>I tried lookup like Article.objects.filter(id__in = []), which will
>have SQL statement whose where clause is something like 'WHERE
>("poll_article"."id" IN ())'. Such SQL statement is ok with SQLite
>but invalid for PostgreSQL.
>
>I work around this problem with code
Hi, folks
I tried lookup like Article.objects.filter(id__in = []), which will
have SQL statement whose where clause is something like 'WHERE
("poll_article"."id" IN ())'. Such SQL statement is ok with SQLite
but invalid for PostgreSQL.
I work around this problem with code like:
if
4 matches
Mail list logo