Skip to content

The open alternative to Salesforce, designed for AI.

249 B
Raw Blame
const removeQuotes = (string: string): string => {
  return string.replace(/["']/g, '');
};

export const formatColumnNameAsAlias = (
  columnNameWithQuotes: string,
): string => {
  return removeQuotes(columnNameWithQuotes).replace(/\./g, '_');
};