@abaplint/transpiler 2.3.35 → 2.3.36

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.
@@ -12,6 +12,11 @@ class ModifyDatabaseTranspiler {
12
12
  const ttab = traversal.traverse(tab);
13
13
  options.push(`"table": ` + ttab.getCode());
14
14
  }
15
+ const from = node.findExpressionAfterToken("FROM");
16
+ if (from && from.get() instanceof abaplint.Expressions.SQLSource) {
17
+ const tvalues = traversal.traverse(from);
18
+ options.push(`"values": ` + tvalues.getCode());
19
+ }
15
20
  return new chunk_1.Chunk(`await abap.statements.modifyDatabase(${table.getCode()}, {${options.join(", ")}});`);
16
21
  }
17
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.3.35",
3
+ "version": "2.3.36",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "author": "abaplint",
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
- "@abaplint/core": "^2.93.70",
31
+ "@abaplint/core": "^2.93.71",
32
32
  "source-map": "^0.7.4"
33
33
  },
34
34
  "devDependencies": {