Update db-update function #2

This commit is contained in:
2026-08-08 16:35:23 +01:00
parent 90fcd3867d
commit 44ec3d4c11
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -72,11 +72,11 @@ export default async function DbUpdate({ table, data, query, targetId, config, }
config,
});
return {
...res,
...updated_res,
debug: {
sqlObj,
},
db_res: res.db_res,
};
}
catch (error) {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@moduletrace/bun-mariadb",
"version": "1.0.15",
"version": "1.0.16",
"description": "Schema-driven MariaDB manager for Bun",
"author": "Benjamin Toby",
"license": "MIT",
+1 -1
View File
@@ -122,11 +122,11 @@ export default async function DbUpdate<
});
return {
...res,
...updated_res,
debug: {
sqlObj,
},
db_res: res.db_res,
};
} catch (error: any) {
return {