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

20.6.9.1 C API Prepared Statement Type Codes
20.6.9.2 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 20.6.11.10, “mysql_stmt_execute()”, and Section 20.6.11.11, “mysql_stmt_fetch()”.