I found an answer to my own question. The answer is here:http:// stackoverflow.com/questions/620156/equivalent-of-postgresql-coalesce- for-sqllite
On Mar 7, 12:52 am, madhav <madhav....@gmail.com> wrote: > This may sound more like a sql question but I got this error in the > django context. And I presume django users would have solved this > issue, So I am posting it here. I am using postgresql_psycopg2 engine > for my production db, but the test runner uses sqllite3 for running > the tests. Keeping my production db(postgresql)in mind I tried > building a query which uses "coalesce". But sqllite3 doesn't recognize > this. How do I get pass this. I can use postgresql_psycopg2 even for > my test running(just to avoid wastage of time), but its too slow. How > do I get pass this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---