Closed
Description
It looks like for prepared statements, statements have to be in the form
'select $1 from $2 where baz=$3
with the arguments ('foo', 'bar', 'baz')
It is common in python database api's to support the pyformat int PEP 249. http://legacy.python.org/dev/peps/pep-0249/#paramstyle
Can this support at least one of the param styles in the pep? Preferably pyformat.
Ideally, the parameters could then be passed in as a dictionary instead of a ordered list.
conn.fetch(myquery, {bar='bar', foo='foo'})