[DB-SIG] DB-API unittests
Andy Chambers
andychambers2002 at yahoo.co.uk
Thu Dec 1 14:32:10 CET 2005
--- Federico Di Gregorio <fog at initd.org> wrote:
> Il giorno gio, 01/12/2005 alle 02.22 +0000, Andrew Chambers ha scritto:
> > - Evidently there is ambiguity about the way that dates should be entered.
> > pgdb - curs.execute("select '%s'" % Date(2005, 01, 01))
> > psycopg - curs.execute("select %s" % Date(2005, 01, 01))
> > Don't know about the others - I don't have them installed
>
> Ambiguity? IMHO, having to quote in the query string is obviously the
> wrong one.
Sorry Federico. Forgot to reply to the list
That's what I thought too. Although doesn't pgdb have the
largest userbase out of existing APIs?
Regards,
Andy
___________________________________________________________
Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/
More information about the DB-SIG
mailing list