On Thu, Jan 03, 2019 at 11:40:52PM +0100, Christoph Zwerschke wrote:
> Am 03.01.2019 um 23:12 schrieb Justin Pryzby:
> > I agree at least that there should be SOME method accepting $1
> > for prepared query, and that it's more important than a method
> > for using %s.
> > And it's more important for us that there be some method at all
> > than that it uses %s.  :)
> 
> Right, we later can still add a method prepare_formatted() or add a keyword
> parameter to prepare() for switching the param style.

Or just document to write it using %s and %%s and pass it through
% ['$%s' % x for x in range(1,1+n)]

Justin
_______________________________________________
PyGreSQL mailing list
PyGreSQL@Vex.Net
https://mail.vex.net/mailman/listinfo/pygresql

Reply via email to