MySQL Connector/Python Developer Guide

11.12 _mysql_connector.MySQL.consume_result() Method

Syntax:

ccnx.consume_result()

Consumes the stored result set, if there is one, for this MySQL instance, by fetching all rows. If the statement that was executed returned multiple result sets, this method loops over and consumes all of them.