Re: [Zope-dev] Using psycopg cursor in a product

2002-02-08 Thread de ZORZI Frederic
Hi all, Is it possible to use cursors and their functions (dictfetchall, fetchone...) with zpsycopg connection ? Easy stupid :) : conn = getattr(self, self.connection_id) db = conn().db curs = db.cursor() curs.execute(select * from support limit 2) return %s %

Re: [Zope-dev] Using psycopg cursor in a product

2002-02-08 Thread Federico Di Gregorio
Il ven, 2002-02-08 alle 12:47, de ZORZI Frederic ha scritto: Hi all, Is it possible to use cursors and their functions (dictfetchall, fetchone...) with zpsycopg connection ? Easy stupid :) : conn = getattr(self, self.connection_id) db = conn().db curs =