MySQL Connector/Python Developer Guide

11.35 _mysql_connector.MySQL.raw() Method

Syntax:

is_raw = ccnx.raw()     # getter
ccnx.raw(bool)          # setter

With no argument, returns True or False to indicate whether the MySQL instance return the rows as is (without conversion to Python objects).

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