Update db-update function
This commit is contained in:
Vendored
+1
@@ -49,6 +49,7 @@ export default async function dbHandler({ query, values, config }) {
|
||||
single_res: res_array?.[0],
|
||||
insert_return,
|
||||
count,
|
||||
db_res: res,
|
||||
};
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
Vendored
+1
@@ -72,6 +72,7 @@ export default async function DbUpdate({ table, data, query, targetId, config, }
|
||||
config,
|
||||
});
|
||||
return {
|
||||
...res,
|
||||
...updated_res,
|
||||
debug: {
|
||||
sqlObj,
|
||||
|
||||
Reference in New Issue
Block a user