fix
This commit is contained in:
parent
4a1b05dd56
commit
36f795222a
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue