FreeBSD manual

download PDF document: mariadb_dyncol_update_many_named.3.pdf

mariadb_dyncol_update_many_named(3) MariaDB Connector/C
Name mariadb_dyncol_update_many_named - Update, insert or delete values in a dynamic column
Synopsis
#include <mariadb_dyncol.h>
enum enum_dyncol_func_result mariadb_dyncol_update_many_named(DYNAMIC_COLUMN *str, uint column_count, MYSQL_LEX_STRING *column_keys, DYNAMIC_COLUMN_VALUE *values)

Description Add, delete or update columns in a dynamic column.
Parameter o *str - A pointer to a dynamic column structure
o column_count - number of columns
o *column_keys - an array of column keys
o *values - an array of values
Return value Returns ER_DYNCOL_OK on success, otherwise error.
Notes o To delete a column, update its value to a "non-value" of type DYN_COL_NULL
See also o <mariadb_dyncol_create_many_named>
o <mariadb_dyncol_update_many_num>
o Dynamic Column Error Codes (dyncol_typesanddefs#error-codes)
Version 3.3.1 mariadb_dyncol_update_many_named(3)