Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-data-seek.html
void mysql_data_seek(MYSQL_RES *result, uint64_t offset) Description Seeks to an arbitrary row in a query result set. This function requires that the result set structure contains the entire result of the query, so mysql_data_seek() may be used ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-debug.html
void mysql_debug(const char *debug) Description Does a DBUG_PUSH with the given string. Example The call shown here causes the client library to generate a trace file in /tmp/client.trace on the client machine: ...To use this function, you must ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-escape-string.html
mysql_escape_string() does not have arguments that enable it to respect the current character set or the quoting context.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-field-direct.html
MYSQL_FIELD * mysql_fetch_field_direct(MYSQL_RES *result, unsigned int fieldnr) Description Given a field number fieldnr for a column within a result set, returns that column's field definition as a MYSQL_FIELD structure. Specify a value for ...Use ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-fields.html
MYSQL_FIELD * mysql_fetch_fields(MYSQL_RES *result) Description Returns an array of all MYSQL_FIELD structures for a result set. To check whether a result set has metadata, use the mysql_result_metadata() function. Return Values An array of ...Each ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-fetch-row.html
MYSQL_ROW mysql_fetch_row(MYSQL_RES *result) Description Note mysql_fetch_row() is a synchronous function. Its asynchronous counterpart is mysql_fetch_row_nonblocking(), for use by applications that require asynchronous communication with the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-field-seek.html
MYSQL_FIELD_OFFSET mysql_field_seek(MYSQL_RES *result, MYSQL_FIELD_OFFSET offset) Description Sets the field cursor to the given offset. The next call to mysql_fetch_field() retrieves the field definition of the column associated with that offset.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-field-tell.html
MYSQL_FIELD_OFFSET mysql_field_tell(MYSQL_RES *result) Description Returns the position of the field cursor used for the last mysql_fetch_field().
https://dev.mysql.com/doc/c-api/8.4/en/mysql-free-result.html
void mysql_free_result(MYSQL_RES *result) Description Note mysql_free_result() is a synchronous function. Its asynchronous counterpart is mysql_free_result_nonblocking(), for use by applications that require asynchronous communication with the ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-num-rows.html
uint64_t mysql_num_rows(MYSQL_RES *result) Description Returns the number of rows in the result set. The use of mysql_num_rows() depends on whether you use mysql_store_result() or mysql_use_result() to return the result set. If you use ...