Search Results
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-commit.html
Syntax: ccnx.commit() Commits the current transaction. ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-escape-string.html
Syntax: str = ccnx.escape_string(str_to_escape) Uses the mysql_escape_string() C API function to create an SQL string that you can use in an SQL statement. Raises a MySQLError exception if the string could not be escaped. Raises a TypeError ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-field-count.html
Syntax: count = ccnx.field_count() Returns the number of columns in the active result set.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-get-host-info.html
Syntax: info = ccnx.get_host_info() Returns a description of the type of connection in use as a string.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-get-proto-info.html
Syntax: info = ccnx.get_proto_info() Returns the protocol version used by the current session.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-get-ssl-cipher.html
Syntax: info = ccnx.get_ssl_cipher() Returns the SSL cipher used for the current session, or None if SSL is not in use.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-have-result-set.html
Syntax: has_rows = ccnx.have_result_set After execution of the query() method, this property indicates whether the query returns rows.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-hex-string.html
Syntax: str = ccnx.hex_string(string_to_hexify) Encodes a value in hexadecimal format and wraps it within X''.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-insert-id.html
Syntax: insert_id = ccnx.insert_id() Returns the AUTO_INCREMENT value generated by the most recent executed statement, or 0 if there is no such value.
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.