Update db-update function

This commit is contained in:
2026-08-08 16:33:37 +01:00
parent 4d85a69505
commit 90fcd3867d
7 changed files with 7 additions and 1 deletions
+1
View File
@@ -75,6 +75,7 @@ export default async function dbHandler<
single_res: res_array?.[0],
insert_return,
count,
db_res: res,
};
} catch (error: any) {
return {
+1
View File
@@ -122,6 +122,7 @@ export default async function DbUpdate<
});
return {
...res,
...updated_res,
debug: {
sqlObj,
+1
View File
@@ -1618,6 +1618,7 @@ export type DBResponseObject<
msg?: string;
debug?: any;
count?: number;
db_res?: any;
};
export type DBInsertReturn = {