-
Notifications
You must be signed in to change notification settings - Fork 258
mariadb_dyncol_create_many_named
Georg Richter edited this page Sep 2, 2018
·
5 revisions
mariadb_dyncol_create_many_named - Creates a dynamic column with named keys
#include <mariadb_dyncol.h>
enum enum_dyncol_func_result
mariadb_dyncol_create_many_named(DYNAMIC_COLUMN *str,
uint column_count,
MYSQL_LEX_STRING *column_keys,
DYNAMIC_COLUMN_VALUE *values,
my_bool new_string);
Create a dynamic column from arrays of values and names.
-
*str
- A pointer to a dynamic column structure -
column_count
- number of columns -
*column_keys
- an array of column keys -
*values
- an array of values -
new_string
- if setstr
will be reinitialized (not freed) before usage
Returns ER_DYNCOL_OK
on success, otherwise error.
- To delete, update or insert new columns into an existing dynamic column use mariadb_dyncol_update_many_named function
MariaDB Connector/C Reference