1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/vendor/MDBC/man/mariadb_dyncol_create_many_named.3

52 lines
1.4 KiB
Groff
Raw Normal View History

.\" Automatically generated by Pandoc 2.5
.\"
.TH "mariadb_dyncol_create_many_named" "3" "" "Version 3.2.2" "MariaDB Connector/C"
.hy
.SS Name
.PP
mariadb_dyncol_create_many_named \- Creates a dynamic column with named
keys
.SS Synopsis
.IP
.nf
\f[C]
#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);
\f[R]
.fi
.SS Description
.PP
Create a dynamic column from arrays of values and names.
.SS Parameter
.IP \[bu] 2
\f[C]*str\f[R] \- A pointer to a dynamic column structure
.IP \[bu] 2
\f[C]column_count\f[R] \- number of columns
.IP \[bu] 2
\f[C]*column_keys\f[R] \- an array of column keys
.IP \[bu] 2
\f[C]*values\f[R] \- an array of values
.IP \[bu] 2
\f[C]new_string\f[R] \- if set \f[C]str\f[R] will be reinitialized (not
freed) before usage
.SS Return value
.PP
Returns \f[C]ER_DYNCOL_OK\f[R] on success, otherwise error.
.SS Notes
.IP \[bu] 2
To delete, update or insert new columns into an existing dynamic column
use <mariadb_dyncol_update_many_named> function
.SS See also
.IP \[bu] 2
<mariadb_dyncol_create_many_num>
.IP \[bu] 2
<mariadb_dyncol_update_many_named>
.IP \[bu] 2
Dynamic Column Error Codes (dyncol_typesanddefs#error-codes)