1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
SqMod/vendor/MDBC/man/mariadb_dyncol_update_many_num.3
2021-09-21 20:59:01 +03:00

48 lines
1.2 KiB
Groff

.\" Automatically generated by Pandoc 2.5
.\"
.TH "mariadb_dyncol_update_many_num" "3" "" "Version 3.2.2" "MariaDB Connector/C"
.hy
.SS Name
.PP
mariadb_dyncol_update_many_num \- Update, insert or delete values in a
dynamic column using numeric keys
.SS Synopsis
.IP
.nf
\f[C]
#include <mariadb_dyncol.h>
enum enum_dyncol_func_result
mariadb_dyncol_update_many_num(DYNAMIC_COLUMN *str,
uint column_count,
uint *column_keys,
DYNAMIC_COLUMN_VALUE *values)
\f[R]
.fi
.SS Description
.PP
Add, delete or update columns in a dynamic column with a numeric key.
.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_num>
.IP \[bu] 2
<mariadb_dyncol_update_many_named>
.IP \[bu] 2
Dynamic Column Error Codes (dyncol_typesanddefs#error-codes)