public static string GetColumnDefinitionsQuery()

in src/MySqlAsyncCollector.cs [473:488]


            public static string GetColumnDefinitionsQuery(MySqlObject table)
            {
                return $@"
                    select
	                    {ColumnName}, CONCAT(DATA_TYPE, 
		                    case
			                    when CHARACTER_MAXIMUM_LENGTH is not null then CONCAT('(',CHARACTER_MAXIMUM_LENGTH,')')
			                    else ''
		                    end) as {ColumnDefinition}
                    from
	                    INFORMATION_SCHEMA.COLUMNS c
                    where
	                    c.TABLE_NAME = {table.SingleQuotedName}
                    and
                        c.TABLE_SCHEMA = {table.SingleQuotedSchema}";
            }