Documentation Home
Connectors and APIs Manual
Download this Manual

7.9.7 constants.ClientFlag Class

This class provides constants defining MySQL client flags that can be used when the connection is established to configure the session. The ClientFlag class is available when importing mysql.connector.

>>> import mysql.connector
>>> mysql.connector.ClientFlag.FOUND_ROWS
2

See Section 7.9.2.32, “MySQLConnection.set_client_flags() Method” and the connection argument client_flag.

The ClientFlag class cannot be instantiated.