FirebirdSQL / python3-driver

Firebird driver for Python that uses new Firebird API
https://www.firebirdsql.org/en/devel-python-driver/
MIT License
26 stars 10 forks source link

how to update data #13

Closed julienGautier77 closed 2 years ago

julienGautier77 commented 2 years ago

Hello i read easly my data but when I tried to update one row of a table but I didn't success :

update= 'update %s set VALPARAM=%s where IDNAME=%s and IDMODULE=%d and NUMAXIS=%d' % (TABLE_NAME,valPara, IDNAME,IDMODULE,NUMAXIS)

curUpdate = con.cursor() curUpdate.execute(update)

I think i didn't use the good way I someone could explain me how to do Thanks in advance

pcisar commented 2 years ago

https://firebird-driver.readthedocs.io/en/latest/usage-guide.html#id3