fix query upsert
This commit is contained in:
parent
15d725701d
commit
3ef8db58b9
|
|
@ -102,7 +102,7 @@ export const execQuery = async (args: DBArg, prisma: any) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
transactions.push(
|
transactions.push(
|
||||||
prisma[table].update({ data: item, where })
|
prisma[table].update({ data: item, where, select })
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue