MCPcopy Create free account
hub / github.com/abaplint/transpiler / objectTypes

Method objectTypes

packages/extras/test/database.ts:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 it("preserves source fields, aliases, joins and filters in every schema and initialization", async () => {
57 const reg = new abaplint.Registry().addFiles(viewFiles().map(f => new abaplint.MemoryFile(f.filename, f.contents)));
58 const res = await new Transpiler({}, plugin).run(reg);
59 const expected = 'CREATE VIEW "zddls" AS SELECT "item"."mandt" AS "purchasingdocument", ' +
60 '"header"."cccategory" AS "headercategory", "text"."cccategory" AS "language", ' +
61 '"change"."cccategory" AS "changestatus" FROM "t000" AS "item" ' +
62 'INNER JOIN "t001" AS "header" ON "item"."mandt" = "header"."mandt" ' +
63 'LEFT OUTER JOIN "t002" AS "text" ON "header"."mandt" = "text"."mandt" ' +

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected