fix
This commit is contained in:
parent
9434c4a188
commit
e1aa1c0d3f
|
|
@ -24,9 +24,12 @@ export const execQuery = async (args: DBArg, prisma: any) => {
|
||||||
mode: "field" | "relation";
|
mode: "field" | "relation";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
console.log(arg);
|
||||||
if (arg) {
|
if (arg) {
|
||||||
const { table, where, data } = arg;
|
const { table, where, data } = arg;
|
||||||
const mode = arg.mode || "field";
|
const mode = arg.mode || "field";
|
||||||
|
console.log("a", table, where, data);
|
||||||
|
|
||||||
if (table && where && data) {
|
if (table && where && data) {
|
||||||
const transactions = [];
|
const transactions = [];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue