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.9 C API Prepared Statement Data Structures C API Prepared Statement Type Codes C API Prepared Statement Type Conversions

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, “mysql_stmt_execute()”, and Section, “mysql_stmt_fetch()”.