MySQL 5.7 C API Developer Guide

6.2 C API Prepared Statement Data Structures

Prepared statements use several data structures:

The following discussion describes the prepared statement data types in detail. For examples that show how to use them, see Section 6.4.10, “mysql_stmt_execute()”, and Section 6.4.11, “mysql_stmt_fetch()”.