mariadb_dyn...te_many_num(3)
β¨ Name β¨
mariadb_dyncol_create_many_num β bestie, this one creates a dynamic column with numeric keys π
So like, it's from the MariaDB Connector/C manual, and it's giving "build me a whole dyncol out of arrays in one go" energy π
πΈ Synopsis πΈ
#include <mariadb_dyncol.h>
enum enum_dyncol_func_result
mariadb_dyncol_create_many_num(DYNAMIC_COLUMN *str,
uint column_count,
uint *column_numbers,
DYNAMIC_COLUMN_VALUE *values,
my_bool new_string);
okay so yes, that's a lot of params, but we're gonna go through every single one, no skips π«Ά
π¦ Description π¦
Create a dynamic column from arrays of values and numbΓ©rs β¨
(and yes the manual literally writes numbΓ©rs with the accent, we love a little flair π )
π Parameter π
*strβ a pointer to a dynamic column structure πcolumn_countβ the number of columns, bestie, count them π*column_numbersβ an array of column numbers π’*valuesβ an array of values π«new_stringβ if this is set,strwill be reinitialized (not freed!!) before usage. not freed. we said what we said π
β Return value β
Returns ER_DYNCOL_OK on success β slay π β otherwise, error. that's it, that's the vibe π
π Notes π
- To delete, update or insert new columns into an existing dynamic column, use the
mariadb_dyncol_update_many_numfunction. like, don't try to do that here, this one is for creating, main character energy only π
π See also π
mariadb_dyncol_create_many_namedmariadb_dyncol_update_many_num- Dynamic Column Error Codes
lowkey important:new_stringreinitializesstr, it does not free it. don't come for me, that's literally what the page says π«Ά
Version 3.4 of the MariaDB Connector/C docs, page mariadb_dyn...te_many_num(3) β that's a wrap bestie, go build some dyncols πβ¨ππ¦πΈπ
π¦ 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