MySQL Connector/Python Developer Guide

11.5 _mysql_connector.MySQL.buffered() Method

Syntax:

is_buffered = ccnx.buffered()     # getter
ccnx.buffered(bool)               # setter

With no argument, returns True or False to indicate whether the MySQL instance buffers (stores) the results.

With a boolean argument, sets the MySQL instance buffering mode.

For the setter syntax, raises a TypeError exception if the value is not True or False.