Am 03.01.2019 um 22:52 schrieb Justin Pryzby: > On Thu, Jan 03, 2019 at 09:49:24PM +0100, Christoph Zwerschke wrote: > |+ def query_prepared(self, name, *args): > |+ def prepare(self, name, command): > > One thought ; should "name" be an kwarg with default name='' ?
Yes, that's a good idea. The parameters would then go in opposite order to the underlying libpq method, but it would be more pythonic.
-- Christoph _______________________________________________ PyGreSQL mailing list PyGreSQL@Vex.Net https://mail.vex.net/mailman/listinfo/pygresql