This commit is contained in:
Benjamin Toby
2025-07-09 20:30:45 +01:00
parent ccb5605b58
commit c37d105dee
264 changed files with 2389 additions and 3743 deletions
+1 -3
View File
@@ -33,8 +33,6 @@ export default async function dsqlCrud<
sanitize ? sanitize({ batchData }) : batchData
) as T[];
const DB_CONN = global.DSQL_READ_ONLY_DB_CONN || global.DSQL_DB_CONN;
switch (action) {
case "get":
return await dsqlCrudGet(params);
@@ -79,7 +77,7 @@ export default async function dsqlCrud<
});
const res = (await connDbHandler(
DB_CONN,
undefined,
deleteQuery?.query,
deleteQuery?.values
)) as PostInsertReturn;
@@ -213,7 +213,6 @@ export default async function dsqlMethodCrud<
}
return result;
} catch (error) {
global.ERROR_CALLBACK?.(`Method Crud Error`, error as Error);
return result;
}
}