ffc-pay-etl-framework 1.1.8 → 1.1.9-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ function getReturningColumns(mapping) {
19
19
  return mapping.filter(m => m.returning === true).map(m => m === null || m === void 0 ? void 0 : m.targetColumn);
20
20
  }
21
21
  function writeInsertStatement(columnMapping, table, chunk) {
22
- let statement = `INSERT INTO ${table} (${chunk._columns.map(column => {
22
+ let statement = `INSERT INTO "${table}" (${chunk._columns.map(column => {
23
23
  const mapping = getMappingForColumn(columnMapping, column);
24
24
  return (mapping === null || mapping === void 0 ? void 0 : mapping.targetColumn)
25
25
  ?
@@ -21,7 +21,7 @@ function getReturningColumns(mapping) {
21
21
  return mapping.filter(m => m.returning === true).map(m => m?.targetColumn);
22
22
  }
23
23
  function writeInsertStatement(columnMapping, table, chunk) {
24
- let statement = `INSERT INTO ${table} (${chunk._columns.map(column => {
24
+ let statement = `INSERT INTO "${table}" (${chunk._columns.map(column => {
25
25
  const mapping = getMappingForColumn(columnMapping, column);
26
26
  return mapping?.targetColumn
27
27
  ?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ffc-pay-etl-framework",
3
- "version": "1.1.8",
3
+ "version": "1.1.9-alpha.2",
4
4
  "publisher": "Defra",
5
5
  "main": "dist/cjs/index.js",
6
6
  "private": false,