mariadb_dyncol_exists_named(3)

Check if column with given name exists

Section 3 libmariadb-dev bookworm source

Description

mariadb_dyncol_exists_named

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