database: should return rowcount on execute #333

Closed
bdarnell opened this Issue Aug 14, 2011 · 0 comments

1 participant

@bdarnell
tornadoweb member

execute() returns lastrowid, which is useful for inserts but not for updates or deletes. We need a method that returns the rowcount instead.

@bkendall bkendall added a commit to bkendall/tornado that referenced this issue Aug 18, 2011
@bkendall bkendall Added executerowcount to be used to return rowcount of the query
re: issue #333: database: should return rowcount on execute
76255cc
@bdarnell bdarnell closed this in 7f6c66e Aug 28, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment