Hi every body,
It's the first time that I post to this list, so please excuse me if the
question is not in the right list.
My SW: Python 1.5.2; pgsql/v7.1.3; RedHat 7.2
My question:
Is there a way of knowing how many rows have been deleted or updated when
sending a query from a python script to pgsql.
Normally I use :
db = pg.connect( ...)
res=db.query("delete from mytable")
But now I don't know how many rows have been deleted.
(The function res.ntuples() works only for a select statement)
Can anybody help me?
Thank you
Dorian