---
name: "mariadb_dyncol_list_named"
section: "3"
platform: "linux"
package: "mariadb"
version: "13.0.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mariadb_dyncol_list_named"
---

# mariadb\_dyncol\_list\_named(3)

### Name

mariadb\_dyncol\_list\_named - Lists column keys in dynamic column

### Synopsis

-

  ```
  #include <mariadb_dyncol.h>
  enum enum_dyncol_func_result
  mariadb_dyncol_list_named(DYNAMIC_COLUMN *str,
                            uint *column_count,
                            MYSQL_LEX_STRING **column_keys);
  ```

### Description

Lists the column keys inside a dynamic column.

### Notes

- •

  The application program needs to free the allocated memory for `column_count` and `column_keys` parameter.

### Parameter

- •

  `*str` - Dynamic column

- •

  `*column_count` - A pointer to an unsigned integer which stores the number of columns

- •

  `**column_keys` - A pointer to an array of column keys, which stores the keys

### Return value

Returns `ER_DYNCOL_OK` on success, otherwise error.

### See also

- •

  mariadb\_dyncol\_list\_num

- •

  mariadb\_dyncol\_list\_json
