mariadb_dyncol_list_num(3)
π mariadb_dyncol_list_num π
okay so bestie, welcome to the MariaDB Connector/C corner of the man pages, and today's main character is mariadb_dyncol_list_num β yes she's giving dynamic column energy and yes she is literally about to hand you a whole list of numbers. no cap. π
β¨ Name β¨
mariadb_dyncol_list_num β lists numeric column keys in a dynamic column π¦
β¨ Synopsis β¨
#include <mariadb_dyncol.h>
enum enum_dyncol_func_result
mariadb_dyncol_list_named(DYNAMIC_COLUMN *str,
uint *column_count,
uint **column_numbers);
β¨ Description β¨
she lists the column numbers inside a dynamic column. that's it, that's the vibe. π
β¨ Parameter β¨
*strβ the dynamic column. the actual thing we're snooping through πΈ*column_countβ a pointer to an unsigned integer, and that integer is where the number of columns lives π«Ά**column_numbersβ a pointer to an array of column numbers, and that array is where the numbers themselves live. double pointer behavior, she's iconic like that β
β¨ Return value β¨
returns ER_DYNCOL_OK when it goes well, otherwise it's an error. periodt. π
β¨ Notes β¨
- the application program needs to free the allocated memory for the
column_countandcolumn_numbersparameters. do not forget this one bestie β that memory is yours to release, not hers π
β¨ See also β¨
mariadb_dyncol_list_namedmariadb_dyncol_list_json
Version 3.4 of the MariaDB Connector/C man pages, mwah, that's the whole page β stay hydrated, free your memory, and slay the rest of your day πβ¨ππ¦πΈπ π«Άππ
π¦ 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