---
name: "mariadb_dyncol_exists_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_exists_named"
---

# mariadb\_dyncol\_exists\_named(3)

### Name

mariadb\_dyncol\_exists\_named - Check if column with given name exists.

### Synopsis

-

  ```
  enum enum_dyncol_func_result
  mariadb_dyncol_exists_named(DYNAMIC_COLUMN *str,
                              MYSQL_LEX_STRING *column_key);
  ```

### Description

Checks if a column with the specified column key exists.

### Parameter

- •

  `*str` - Dynamic column

- •

  `*column_key` - The column key to search for

### Return value

Returns `ER_DYNCOL_YES` if a column with given key exists, `ER_DYNCOL_NO` if no column exists or error.

### See also

- •

  mariadb\_dyncol\_exists\_num

- •

  Dynamic Column Error Codes
