Dapatkan baris yang terpengaruh mysql
SELECT ROW_COUNT() AS 'Affected rows';
Silly Skylark
SELECT ROW_COUNT() AS 'Affected rows';
cursor.rowcount # would give you the rows affected