Python Twisted adbapi number of affected rows
I write a Twisted application that does a lot of SQL - I use MySQL to be specific. Since I write 'raw' SQL (no ORM), it's great to use adbapi.
I need to get information about how many rows were affected by UPDATE. However runOperaion returns None and runQuery returns () (i.e. empty tuple). How do I get this in adbapi? Thanks in advance! |
All times are GMT -5. The time now is 10:42 PM. |