blob: 81f0f59480df03451f93133d6014be6bd4b4ea5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
.\" Automatically generated by Pandoc 2.5
.\"
.TH "mariadb_dyncol_update_many_named" "3" "" "Version 3.3.1" "MariaDB Connector/C"
.hy
.SS Name
.PP
mariadb_dyncol_update_many_named \- Update, insert or delete values in a
dynamic column
.SS Synopsis
.IP
.nf
\f[C]
#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)
\f[R]
.fi
.SS Description
.PP
Add, delete or update columns in a dynamic column.
.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
.SS Return value
.PP
Returns \f[C]ER_DYNCOL_OK\f[R] on success, otherwise error.
.SS Notes
.IP \[bu] 2
To delete a column, update its value to a \[lq]non\-value\[rq] of type
\f[C]DYN_COL_NULL\f[R]
.SS See also
.IP \[bu] 2
<mariadb_dyncol_create_many_named>
.IP \[bu] 2
<mariadb_dyncol_update_many_num>
.IP \[bu] 2
Dynamic Column Error Codes (dyncol_typesanddefs#error-codes)
|