Browse Source

feat(nocodb): allow skip sanitizeColumnName

pull/7022/head
աɨռɢӄաօռɢ 12 months ago
parent
commit
a6e5a99d53
  1. 1
      packages/nocodb/src/helpers/columnHelpers.ts

1
packages/nocodb/src/helpers/columnHelpers.ts

@ -267,6 +267,7 @@ export async function populateRollupForLTAR({
}
export const sanitizeColumnName = (name: string) => {
if (process.env.NC_SANITIZE_COLUMN_NAME === 'false') return name;
const columnName = name.replace(/\W/g, '_');
// if column name only contains _ then return as 'field'

Loading…
Cancel
Save