#NEWLINE# @ util . memoized_property #NEWLINE# def rowcount( self ) : #NEWLINE# #INDENT# "Return the 'rowcount' for this result.\n\n        The 'rowcount' reports the number of rows *matched*\n        by the WHERE criterion of an UPDATE or DELETE statement.\n\n        .. note::\n\n           Notes regarding :attr:`.ResultProxy.rowcount`:\n\n\n           * This attribute returns the number of rows *matched*,\n             which is not necessarily the same as the number of rows\n             that were actually *modified* - an UPDATE statement, for example,\n             may have no net change on a given row if the SET values\n             given are the same as those present in the row already.\n             Such a row would be matched but not modified.\n             On backends that feature both styles, such as MySQL,\n             rowcount is configured by default to return the match\n             count in all cases.\n\n           * :attr:`.ResultProxy.rowcount` is *only* useful in conjunction\n             with an UPDATE or DELETE statement.  Contrary to what the Python\n             DBAPI says, it does *not* return the\n             number of rows available from the results of a SELECT statement\n             as DBAPIs cannot support this functionality when rows are\n             unbuffered.\n\n           * :attr:`.ResultProxy.rowcount` may not be fully implemented by\n             all dialects.  In particular, most DBAPIs do not support an\n             aggregate rowcount result from an executemany call.\n             The :meth:`.ResultProxy.supports_sane_rowcount` and\n             :meth:`.ResultProxy.supports_sane_multi_rowcount` methods\n             will report from the dialect if each usage is known to be\n             supported.\n\n           * Statements that use RETURNING may not return a correct\n             rowcount.\n\n        " #NEWLINE# try : #NEWLINE# #INDENT# return self . context . rowcount #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# self . connection . _handle_dbapi_exception ( e , None , None , self . cursor , self . context )