This documentation is for an older version. If you're using the most current version, select the documentation for that version with the version switch in the upper right corner of the online documentation, or by downloading a newer PDF or EPUB file.

20.6.11 C API Prepared Statement Function Descriptions

20.6.11.1 mysql_stmt_affected_rows()
20.6.11.2 mysql_stmt_attr_get()
20.6.11.3 mysql_stmt_attr_set()
20.6.11.4 mysql_stmt_bind_param()
20.6.11.5 mysql_stmt_bind_result()
20.6.11.6 mysql_stmt_close()
20.6.11.7 mysql_stmt_data_seek()
20.6.11.8 mysql_stmt_errno()
20.6.11.9 mysql_stmt_error()
20.6.11.10 mysql_stmt_execute()
20.6.11.11 mysql_stmt_fetch()
20.6.11.12 mysql_stmt_fetch_column()
20.6.11.13 mysql_stmt_field_count()
20.6.11.14 mysql_stmt_free_result()
20.6.11.15 mysql_stmt_init()
20.6.11.16 mysql_stmt_insert_id()
20.6.11.17 mysql_stmt_num_rows()
20.6.11.18 mysql_stmt_param_count()
20.6.11.19 mysql_stmt_param_metadata()
20.6.11.20 mysql_stmt_prepare()
20.6.11.21 mysql_stmt_reset()
20.6.11.22 mysql_stmt_result_metadata()
20.6.11.23 mysql_stmt_row_seek()
20.6.11.24 mysql_stmt_row_tell()
20.6.11.25 mysql_stmt_send_long_data()
20.6.11.26 mysql_stmt_sqlstate()
20.6.11.27 mysql_stmt_store_result()

To prepare and execute queries, use the functions described in detail in the following sections.

All functions that operate with a MYSQL_STMT structure begin with the prefix mysql_stmt_.

To create a MYSQL_STMT handle, use the mysql_stmt_init() function.