Documentation Home
Connectors and APIs Manual
Download this Manual
PDF (US Ltr) - 4.5Mb
PDF (A4) - 4.5Mb


6.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 6.9.2.32, “MySQLConnection.set_client_flags() Method” and the connection argument client_flag.

The ClientFlag class cannot be instantiated.