[DB-SIG] db paramstyle for arrays

Denis S. Otkidach ods at strana.ru
Tue Apr 6 07:22:56 EDT 2004


On Mon, 5 Apr 2004, Lee Harr wrote:

LH> Is there a special DB API style for inserting array values
LH> in
LH> to a database?

What DB API module do you use?  For pyPgSQL the answer is in FAQ
(http://pypgsql.sourceforge.net/pypgsql-faq.html):
If you want to use ARRAYs, you'll now need to wrap your (nested)
lists with PgSQL.PgArray

-- 
Denis S. Otkidach
http://www.python.ru/      [ru]




More information about the DB-SIG mailing list