internal static string GetMySqlColNameFormatted()

in src/MySqlObject.cs [74:89]


        internal static string GetMySqlColNameFormatted(string colName)
        {
            string colNameFormatted;
            Match match = Regex.Match(colName, patternObjectWithoutSchema);
            if (match.Success)
            {
                colNameFormatted = match.Groups["object"].Value.AsDoubleAcuteQuotedReplaceString();
            }
            else
            {
                // just keep the previous name, if not formatted correctly
                colNameFormatted = colName;
            }

            return colNameFormatted;
        }