mariadb_dyncol_exists_named(3) MariaDB Connector/C mariadb_dyncol_exists_named(3)

mariadb_dyncol_exists_named - Check if column with given name exists.

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

Checks if a column with the specified column key exists.

*str - Dynamic column
*column_key - The column key to search for

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

mariadb_dyncol_exists_num
Dynamic Column Error Codes
Version 3.4