Update db-update function #2
This commit is contained in:
Vendored
+1
-1
@@ -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
@@ -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",
|
||||
|
||||
@@ -122,11 +122,11 @@ export default async function DbUpdate<
|
||||
});
|
||||
|
||||
return {
|
||||
...res,
|
||||
...updated_res,
|
||||
debug: {
|
||||
sqlObj,
|
||||
},
|
||||
db_res: res.db_res,
|
||||
};
|
||||
} catch (error: any) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user