https://dev.mysql.com/mysql-list-tables.html
wild may contain the wildcard characters % or _, or may be a NULL pointer to match all tables. MYSQL_RES *mysql_list_tables(MYSQL *mysql, const char *wild) Returns a result set consisting of table names in the current database that match the simple ...
https://dev.mysql.com/mysql-num-fields.html
You would use the connection handler if mysql_store_result() or mysql_use_result() returned NULL (and thus you have no result set pointer). See Section 28.7.28.1, “Why mysql_store_result() Sometimes Returns NULL After mysql_query() Returns ...
https://dev.mysql.com/mysql-options4.html
This example demonstrates the calls that specify connection attributes: MYSQL mysql; mysql_init(&mysql); mysql_options(&mysql,MYSQL_OPT_CONNECT_ATTR_RESET, 0); mysql_options4(&mysql,MYSQL_OPT_CONNECT_ATTR_ADD, "key1", "value1"); ... int ...
https://dev.mysql.com/mysql-shell-tutorial-javascript-documents-collections.html
Simple document format for JavaScript: {field1: "value", field2 : 10, "field 3": null} An array of documents consists of a set of documents separated by commas and enclosed within [ and ] characters. When you are using MySQL as a Document Store, ...
https://dev.mysql.com/mysql-shell-tutorial-javascript-indexes-create.html
The final parameter indicates whether the field should require the NOT NULL constraint. If the value is false, the field can contain NULL values. Indexes are used to find documents with specific field values quickly. Without an index, MySQL must ...
https://dev.mysql.com/mysql-shell-tutorial-python-documents-index.html
The final parameter indicates whether the field should require the NOT NULL constraint. If the value is false, the field can contain NULL values. Indexes are used to find documents with specific field values quickly. Without an index, MySQL must ...
https://dev.mysql.com/mysql-sqlstate.html
const char *mysql_sqlstate(MYSQL *mysql) Returns a null-terminated string containing the SQLSTATE error code for the most recently executed SQL statement. '00000' means “no error.” The values are specified by ANSI SQL and ODBC. For a list of ...
https://dev.mysql.com/mysql-ssl-set.html
bool mysql_ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) mysql_ssl_set() is used for establishing encrypted connections using SSL. mysql_ssl_set() does nothing unless SSL support is ...
https://dev.mysql.com/mysql-stmt-sqlstate.html
const char *mysql_stmt_sqlstate(MYSQL_STMT *stmt) For the statement specified by stmt, mysql_stmt_sqlstate() returns a null-terminated string containing the SQLSTATE error code for the most recently invoked prepared statement API function that can ..."00000" means “no error.” The values are specified by ANSI SQL and ...
https://dev.mysql.com/mysql-use-result.html
When using mysql_use_result(), you must execute mysql_fetch_row() until a NULL value is returned, otherwise, the unfetched rows are returned as part of the result set for your next query. MYSQL_RES *mysql_use_result(MYSQL *mysql) After invoking ...