Documentation Home
MySQL Connector/Python Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.7Mb
PDF (A4) - 0.7Mb


MySQL Connector/Python Developer Guide  /  Connector/Python C Extension API Reference  /  _mysql_connector.MySQL.buffered() Method

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.