@abaplint/runtime
Version:
Transpiler - Runtime
19 lines • 560 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Context = void 0;
class Context {
console;
cursorCounter = 0;
cursors = {};
// DEFAULT and secondary database connections
databaseConnections = {};
RFCDestinations = {};
defaultDB() {
if (this.databaseConnections["DEFAULT"] === undefined) {
throw new Error("Runtime, database not initialized");
}
return this.databaseConnections["DEFAULT"];
}
}
exports.Context = Context;
//# sourceMappingURL=context.js.map