lib/utils.js
function toSQLName(input) {
  return !input || _.isObject(input) || _.isArray(input) || _.isNaN(input) ? undefined :
    input.toString().toLowerCase()
      .replace(/\W+/g, " ")
      .trim()
      .replace(/\s+/g, "_")
      .replace(/_+/g, "_")
      .substring(0, 64);
}
function toSQLName(input) {
  return !input || _.isObject(input) || _.isArray(input) || _.isNaN(input) ? undefined :
    input.toString().toLowerCase()
      .replace(/\W+/g, " ")
      .trim()
      .replace(/\s+/g, "_")
      .replace(/_+/g, "_")
      .substring(0, 64);
}
function toSQLName ( input ) { return ! input || _ . isObject ( input ) || _ . isArray ( input ) || _ . isNaN ( input ) ? undefined : input . toString ( ) . toLowerCase ( ) . replace ( / \W+ / g , " " ) . trim ( ) . replace ( / \s+ / g , "_" ) . replace ( / _+ / g , "_" ) . substring ( 0 , 64 ) ; }
Make into a standardize name for SQL tables or columns
Make into a standardize name for SQL tables or columns