@abaplint/runtime 2.7.119 → 2.7.120

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.
@@ -38,13 +38,13 @@ async function insertDatabase(table, options, context) {
38
38
  }
39
39
  const structure = options.values.get();
40
40
  for (const k of Object.keys(structure)) {
41
- columns.push(k);
42
- const value = structure[k].get();
43
- if (value instanceof types_1.Structure) {
41
+ const field = structure[k];
42
+ if (field instanceof types_1.Structure) {
44
43
  // then its a group, ignore
45
44
  continue;
46
45
  }
47
- values.push(toValue(value));
46
+ columns.push(k);
47
+ values.push(toValue(field.get()));
48
48
  }
49
49
  if (typeof table !== "string") {
50
50
  table = table.get().trimEnd().toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.7.119",
3
+ "version": "2.7.120",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",