The Dynamic columns feature was introduced in MariaDB 5.3.
 
Syntax
------ 
COLUMN_EXISTS(dyncol_blob, column_nr);
COLUMN_EXISTS(dyncol_blob, column_name);
 
Description
----------- 
Checks if a column with name column_name exists in
dyncol_blob. If yes, return 1, otherwise return 0. See
dynamic columns for more information.
 

 
 
 
 
 
 
 

URL: https://mariadb.com/kb/en/column_exists/