Search Results
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-more-results.html
Syntax: more = ccnx.more_results() Returns True or False to indicate whether any more result sets exist.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-ping.html
Syntax: alive = ccnx.ping() Returns True or False to indicate whether the connection to the MySQL server is working.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-raw.html
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).
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-use-unicode.html
Syntax: is_unicode = ccnx.use_unicode() # getter ccnx.use_unicode(bool) # setter With no argument, returns True or False to indicate whether the MySQL instance returns nonbinary strings as Unicode. With a boolean argument, sets whether the MySQL ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-connected.html
This read-only property checks whether the connection to MySQL is available using the ping() method; but unlike ping(), connected returns True when the connection is available, and False otherwise.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-is-connected.html
This method checks whether the connection to MySQL is available using the ping() method, but unlike ping(), is_connected() returns True when the connection is available, False otherwise.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-isset-client-flag.html
Syntax: cnx.isset_client_flag(flag) This method returns True if the client flag was set, False otherwise.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-ping.html
Syntax: cnx.ping(reconnect=False, attempts=1, delay=0) Check whether the connection to the MySQL server is still available. When reconnect is set to True, one or more attempts are made to try to reconnect to the MySQL server, and these options are ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-unread-results.html
It is set to False if there is not an unread result, otherwise True. This is used by cursors to check whether another cursor still needs to retrieve its result set. Do not set the value of this property, as only the connector should change the value.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlcursor-with-rows.html
Syntax: boolean = cursor.with_rows This read-only property returns True or False to indicate whether the most recently executed operation could have produced rows. The with_rows property is useful when it is necessary to determine whether a ...