MySQL Connector/Python Developer Guide

10.9 constants.SQLMode Class

This class provides all known MySQL Server SQL Modes. It is mostly used when setting the SQL modes at connection time using the connection's sql_mode property. See Section 10.2.47, “MySQLConnection.sql_mode Property”.

The SQLMode class cannot be instantiated.