From e1aa1c0d3f6c0056e2443f137ef137fc6fd16a31 Mon Sep 17 00:00:00 2001 From: Rizky Date: Sun, 7 Jul 2024 08:10:37 +0700 Subject: [PATCH] fix --- pkgs/utils/query.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/utils/query.ts b/pkgs/utils/query.ts index 4c2e74a..ce8ab57 100644 --- a/pkgs/utils/query.ts +++ b/pkgs/utils/query.ts @@ -24,9 +24,12 @@ export const execQuery = async (args: DBArg, prisma: any) => { mode: "field" | "relation"; }; }; + console.log(arg); if (arg) { const { table, where, data } = arg; const mode = arg.mode || "field"; + console.log("a", table, where, data); + if (table && where && data) { const transactions = [];