diff --git a/pkgs/utils/query.ts b/pkgs/utils/query.ts index be6c8b4..4194884 100644 --- a/pkgs/utils/query.ts +++ b/pkgs/utils/query.ts @@ -24,6 +24,7 @@ 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"; @@ -37,9 +38,6 @@ export const execQuery = async (args: DBArg, prisma: any) => { .findAllByType("model", {}) .map((e) => e?.name) as string[]; - console.log("iud", arg); - return { hr: "hello" }; - if (schema_table) { let pks: Property[] = []; for (const col of schema_table.properties) {