https://dev.mysql.com/mysql-set-local-infile-handler.html
Write the message as a null-terminated string, at most error_msg_len−1 bytes long. void mysql_set_local_infile_handler(MYSQL *mysql, int (*local_infile_init)(void **, const char *, void *), int (*local_infile_read)(void *, char *, unsigned int), ...
https://dev.mysql.com/mysql-shell-tutorial-javascript-documents-find.html
mysql-js> db.countryinfo.find() [ { "GNP": 828, "Code:": "ABW", "Name": "Aruba", "IndepYear": null, "geography": { "Continent": "North America", "Region": "Caribbean", "SurfaceArea": 193 }, "government": { "GovernmentForm": "Nonmetropolitan ... You ...
https://dev.mysql.com/mysql-shell-tutorial-python-documents-collections.html
Simple document format for Python: {"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-python-documents-find.html
mysql-py> db.countryinfo.find() [ { "GNP": 828, "Code:": "ABW", "Name": "Aruba", "IndepYear": null, "geography": { "Continent": "North America", "Region": "Caribbean", "SurfaceArea": 193 }, "government": { "GovernmentForm": "Nonmetropolitan ... You ...
https://dev.mysql.com/mysql-stat.html
const char *mysql_stat(MYSQL *mysql) Returns a character string containing information similar to that provided by the mysqladmin status command. This includes uptime in seconds and the number of running threads, questions, reloads, and open tables. CR_SERVER_LOST The connection to the server was lost during the ...
https://dev.mysql.com/mysql-stmt-error.html
const char *mysql_stmt_error(MYSQL_STMT *stmt) For the statement specified by stmt, mysql_stmt_error() returns a null-terminated string containing the error message for the most recently invoked statement API function that can succeed or fail.
https://dev.mysql.com/mysql-stmt-execute.html
int mysql_stmt_execute(MYSQL_STMT *stmt) mysql_stmt_execute() executes the prepared query associated with the statement handler. The currently bound parameter marker values are sent to server during this call, and the server replaces the markers ...
https://dev.mysql.com/mysql-stmt-init.html
The handler should be freed with mysql_stmt_close(), at which point the handler becomes invalid and should no longer be used. See also Section 28.7.8, “C API Prepared Statement Data Structures”, for more information.
https://dev.mysql.com/mysql-stmt-result-metadata.html
MYSQL_RES *mysql_stmt_result_metadata(MYSQL_STMT *stmt) If a statement passed to mysql_stmt_prepare() is one that produces a result set, mysql_stmt_result_metadata() returns the result set metadata in the form of a pointer to a MYSQL_RES structure ...
https://dev.mysql.com/mysql-stmt-store-result.html
You can detect whether the statement produced a result set by checking if mysql_stmt_result_metadata() returns NULL. int mysql_stmt_store_result(MYSQL_STMT *stmt) Result sets are produced by calling mysql_stmt_execute() to executed prepared ...