MariaDB Connector/C API Prepared Statement Functions
See also MariaDB Connector/C API Functions for functions not relating to prepared statements.
-
Connector C Data Structures and Definitions
MYSQL_BIND, MYSQL_STMT, types and definitions -
Prepared Statement Examples
Prepared statement examples -
mariadb_stmt_execute_direct
Prepares and executes a statement previously allocated by mysql_stmt_init(). -
mariadb_stmt_fetch_fields
Returns an array of fields containing the definition for the columns. -
mysql_stmt_affected_rows
Returns the number of affected rows from previous executed prepared statement. -
mysql_stmt_attr_get
Used to get the current value of a statement attribute. -
mysql_stmt_attr_set
Modifies the behavior of a prepared statement. -
mysql_stmt_bind_param
Binds parameter variables to a prepared statement. -
mysql_stmt_bind_result
Binds variables to a prepared statement for result storage. -
mysql_stmt_close
Closes a prepared statement. -
mysql_stmt_data_seek
Seeks to an arbitrary row in statement result set. -
mysql_stmt_errno
Returns the error number for the most recent prepared statement call. -
mysql_stmt_error
Returns a string description for the last statement error. -
mysql_stmt_execute
Executes a prepared statement. -
mysql_stmt_fetch
Fetches result buffer into bound buffer. -
mysql_stmt_fetch_column
Fetches a single column in to a bind buffer. -
mysql_stmt_field_count
Returns the number of fields in a result set of a prepared statement. -
mysql_stmt_free_result
Frees stored result memory of a prepared statement. -
mysql_stmt_init
Initializes a prepared statement. -
mysql_stmt_insert_id
Get the auto generated id from previously executed prepared statement. -
mysql_stmt_next_result
Syntax int mysql_stmt_next_result(MYSQL_STMT * stmt); stmt - a statement ha... -
mysql_stmt_num_rows
Returns the number of rows in a prepared statement result set. -
mysql_stmt_param_count
Returns the number of parameter for the given statement. -
mysql_stmt_param_metadata
Syntax MYSQL_RES * mysql_stmt_param_metadata(MYSQL_STMT * stmt); stmt - a s... -
mysql_stmt_prepare
Prepares a SQL statement for execution. -
mysql_stmt_reset
Resets a prepared statement. -
mysql_stmt_result_metadata
Returns result set metadata from a prepared statement. -
mysql_stmt_row_seek
Positions row cursors. -
mysql_stmt_row_tell
Returns position of the result cursor. -
mysql_stmt_send_long_data
Send data in chunks. -
mysql_stmt_sqlstate
Returns SQLSTATE error from previous statement operation. -
mysql_stmt_store_result
Transfers a result set from a prepared statement. -
mysql_stmt_warning_count
Returns the number of warnings from the last executed statement.
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.