Am 14.12.2018 um 01:55 schrieb Justin Pryzby:
> Do you have any idea what the interface would look like for this ?
> Would we add a prepare() and execute() ?
> Or query(..., prepare='name') ?

I'd prefer the former. We could then also add describe_prepared() and delete_prepared() (which would execute a deallocate command). Maybe execute_prepared() instead of execute() for clarity and to avoid confusion, since the DBAPI2 already uses execute() for normal queries.

What do you think?

-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo/pygresql

Reply via email to