fdb icon indicating copy to clipboard operation
fdb copied to clipboard

Support for named parameters in SQL queries [PYFB48]

Open firebird-automations opened this issue 10 years ago • 0 comments

Submitted by: @pcisar

Other python database adapters support specifying a name for the parameters in the SQL string and passing a dict to execute(), to bind the parameters to its values. Something like this:

> cur.execute('select * from customers where id = %(cid)d', {'cid': 3})

firebird-automations avatar Feb 25 '15 13:02 firebird-automations