From 44ec3d4c113219667ad12b5b39fb28b7a36709da Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sat, 8 Aug 2026 16:35:23 +0100 Subject: [PATCH] Update db-update function #2 --- dist/lib/mariadb/db-update.js | 2 +- package.json | 2 +- src/lib/mariadb/db-update.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/lib/mariadb/db-update.js b/dist/lib/mariadb/db-update.js index e51b795..bc58628 100644 --- a/dist/lib/mariadb/db-update.js +++ b/dist/lib/mariadb/db-update.js @@ -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) { diff --git a/package.json b/package.json index 9ec2599..fb2d46f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/lib/mariadb/db-update.ts b/src/lib/mariadb/db-update.ts index 5224448..1324cf2 100644 --- a/src/lib/mariadb/db-update.ts +++ b/src/lib/mariadb/db-update.ts @@ -122,11 +122,11 @@ export default async function DbUpdate< }); return { - ...res, ...updated_res, debug: { sqlObj, }, + db_res: res.db_res, }; } catch (error: any) { return {