Browse Source

fix: question mark in CONCAT

pull/2300/head
Wing-Kam Wong 3 years ago
parent
commit
b545a9e710
  1. 2
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/formulav2/formulaQueryBuilderv2.ts

2
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/formulav2/formulaQueryBuilderv2.ts

@ -627,7 +627,7 @@ export default async function formulaQueryBuilderv2(
}
return query;
})
.join()})${colAlias}`
.join()})${colAlias}`.replace(/\?/g, '\\?')
);
} else if (pt.type === 'Literal') {
return knex.raw(`?${colAlias}`, [pt.value]);

Loading…
Cancel
Save