Updates
This commit is contained in:
parent
18cbf9b2f4
commit
22f4372cbf
@ -169,9 +169,9 @@ function addDbEntry(_a) {
|
||||
const queryValuesArray = insertValuesArray;
|
||||
if (debug) {
|
||||
(0, debug_log_1.default)({
|
||||
log: DB_CONN,
|
||||
log: DB_CONN === null || DB_CONN === void 0 ? void 0 : DB_CONN.getConfig(),
|
||||
addTime: true,
|
||||
label: "DB_CONN",
|
||||
label: "DB_CONN Config",
|
||||
});
|
||||
(0, debug_log_1.default)({
|
||||
log: query,
|
||||
@ -185,6 +185,13 @@ function addDbEntry(_a) {
|
||||
});
|
||||
}
|
||||
const newInsert = yield (0, conn_db_handler_1.default)(DB_CONN, query, queryValuesArray);
|
||||
if (debug) {
|
||||
(0, debug_log_1.default)({
|
||||
log: newInsert,
|
||||
addTime: true,
|
||||
label: "newInsert",
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Return statement
|
||||
*/
|
||||
|
@ -221,9 +221,9 @@ export default async function addDbEntry({
|
||||
|
||||
if (debug) {
|
||||
debugLog({
|
||||
log: DB_CONN,
|
||||
log: DB_CONN?.getConfig(),
|
||||
addTime: true,
|
||||
label: "DB_CONN",
|
||||
label: "DB_CONN Config",
|
||||
});
|
||||
|
||||
debugLog({
|
||||
@ -241,6 +241,14 @@ export default async function addDbEntry({
|
||||
|
||||
const newInsert = await connDbHandler(DB_CONN, query, queryValuesArray);
|
||||
|
||||
if (debug) {
|
||||
debugLog({
|
||||
log: newInsert,
|
||||
addTime: true,
|
||||
label: "newInsert",
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Return statement
|
||||
*/
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@moduletrace/datasquirel",
|
||||
"version": "4.4.5",
|
||||
"version": "4.4.6",
|
||||
"description": "Cloud-based SQL data management tool",
|
||||
"main": "dist/index.js",
|
||||
"bin": {
|
||||
|
Loading…
Reference in New Issue
Block a user