Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-data-seek.html
void mysql_stmt_data_seek(MYSQL_STMT *stmt, uint64_t offset) Description Seeks to an arbitrary row in a statement result set. The offset value is a row number and should be in the range from 0 to mysql_stmt_num_rows(stmt)-1. This function requires ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-fetch-column.html
int mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind, unsigned int column, unsigned long offset) Description Fetches one column from the current result set row. It should be set up the same way as for mysql_stmt_bind_result(). offset is ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-field-count.html
unsigned int mysql_stmt_field_count(MYSQL_STMT *stmt) Description Returns the number of columns for the most recent statement for the statement handler. mysql_stmt_field_count() can be called after you have prepared a statement by invoking ...This ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-free-result.html
bool mysql_stmt_free_result(MYSQL_STMT *stmt) Description Releases memory associated with the result set produced by execution of the prepared statement. If there is a cursor open for the statement, mysql_stmt_free_result() closes it.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-insert-id.html
uint64_t mysql_stmt_insert_id(MYSQL_STMT *stmt) Description Returns the value generated for an AUTO_INCREMENT column by the prepared INSERT or UPDATE statement. Use this function after you have executed a prepared INSERT statement on a table which ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-num-rows.html
uint64_t mysql_stmt_num_rows(MYSQL_STMT *stmt) Description Returns the number of rows in the result set. The use of mysql_stmt_num_rows() depends on whether you used mysql_stmt_store_result() to buffer the entire result set in the statement handler. mysql_stmt_num_rows() is intended for use with statements that return a result set, such as ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-param-count.html
unsigned long mysql_stmt_param_count(MYSQL_STMT *stmt) Description Returns the number of parameter markers present in the prepared statement. Return Values An unsigned long integer representing the number of parameters in a statement.
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-param-metadata.html
MYSQL_RES * mysql_stmt_param_metadata(MYSQL_STMT *stmt) This function currently does nothing. ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-result-metadata.html
MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT *stmt) Description mysql_stmt_result_metadata() is used to obtain result set metadata for a prepared statement. Its use requires that the statement when executed by mysql_stmt_execute() does produce ...If the executed statement is a CALL statement, it may produce multiple result ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-row-seek.html
MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT *stmt, MYSQL_ROW_OFFSET offset) Description Sets the row cursor to an arbitrary row in a statement result set. The offset value is a row offset that should be a value returned from ...