fix query upsert
This commit is contained in:
+1
-1
@@ -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 })
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user