code: function dbName(str) {
    if (!str) return str;
    str = str.replace(/[A-Z]/g, $0 => `_${$0.toLowerCase()}`);
    if (str[0] === '_') return str.slice(1);
    return str;
  }
docs: convert the string to a underline-delimited string which will used in database