mariadb_dyn..._many_named(3)
π NAME π
mariadb_dyncol_create_many_named β bestie, this one creates a dynamic column with named keys β¨
Oh and hey, this whole thing lives in the MariaDB Connector/C manual, section 3, iykyk π
β¨ SYNOPSIS β¨
#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);
πΈ DESCRIPTION πΈ
Okay so. This function creates a dynamic column out of arrays β one array of values, one array of names. That's it, that's the vibe π
π¦ PARAMETER π¦
*strβ a pointer to a dynamic column structure π«Άcolumn_countβ the number of columns, fr fr*column_keysβ an array of column keys π*valuesβ an array of values βnew_stringβ if it's set,strgets reinitialized (not freed, bestie, reinitialized) before usage π
π RETURN VALUE π
Returns ER_DYNCOL_OK on success. Otherwise? Error. That's the whole tea π
π NOTES π
- If you wanna delete, update or insert new columns into an existing dynamic column, you need
mariadb_dyncol_update_many_namedinstead. Different function, different moment π
π SEE ALSO π
mariadb_dyncol_create_many_nummariadb_dyncol_update_many_named- Dynamic Column Error Codes
no cap, that's literally the entire page π«Ά go slay π
Version 3.4 β MariaDB Connector/C, page mariadb_dyn..._many_named(3). Bye bestie, love u, read ur man pages β¨π§π
π¦ where this page comes from
- alpine 3.22: mariadb-doc 11.4.13-r0 Β· GPL-2.0-or-later
- alpine 3.23: mariadb-doc 11.4.13-r0 Β· GPL-2.0-or-later
- alpine 3.24: mariadb-doc 11.8.9-r0 Β· GPL-2.0-only
- arch rolling: mariadb 13.0.2-2 Β· GPL-2.0-only
- arch rolling: mariadb-lts 12.3.3-2 Β· GPL-2.0-only
- centos-stream 10: mariadb-connector-c-doc 3.4.4-2.el10 Β· LGPL-2.1-or-later
- debian trixie: libmariadb-dev 1:11.8.6-0+deb13u1 Β· GPL-2.0-only
- fedora 43: mariadb-connector-c-doc 3.4.5-2.fc43 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
- fedora 43: mariadb-connector-c-doc 3.4.9-2.fc43 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01 AND LicenseRef-Fedora-Public-Domain
- fedora 44: mariadb-connector-c-doc 3.4.8-3.fc44 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
- fedora 44: mariadb-connector-c-doc 3.4.9-2.fc44 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01 AND LicenseRef-Fedora-Public-Domain
- nixpkgs unstable: mariadb-server 11.8.8
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- ubuntu questing: libmariadb-dev 1:11.8.3-1build1
- ubuntu resolute: libmariadb-dev 1:11.8.6-5 Β· GPL-2.0-only
- ubuntu resolute: libmariadb-dev 1:11.8.6-5ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: libmariadb-dev 1:11.8.9+ds-4ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms