Sebastian Gug
10/19/2022, 4:06 PMprisma.$transaction(async (tx) => {
but this throws a type error now Argument of type '(tx: any) => void' is not assignable to parameter of type 'PrismaPromise<any>[]'
what even is a PrismaPromise? and if it's an array, how am I supposed to benefit from the result of one of those operations for incrementing purposes?Nurul
10/20/2022, 6:59 AM