abap2UI5/node/ci/setup.mjs
oblomov-dev 43b31736ef
update
2025-02-19 21:00:42 +00:00

8 lines
404 B
JavaScript

import {SQLiteDatabaseClient} from "@abaplint/database-sqlite";
export async function setup(abap, schemas, insert) {
abap.context.databaseConnections["DEFAULT"] = new SQLiteDatabaseClient();
await abap.context.databaseConnections["DEFAULT"].connect();
await abap.context.databaseConnections["DEFAULT"].execute(schemas.sqlite);
await abap.context.databaseConnections["DEFAULT"].execute(insert);
}