John Smeeth
06/23/2022, 5:03 AMconst ids = ["id1", "id2"]
So how can i pass it to `prisma.$executeRaw`UPDATE users SET level=1 WHERE id IN (ids)`` ? thank youNurul
06/23/2022, 3:14 PMJohn Smeeth
06/24/2022, 1:54 AMids.join(",") but it not work, the problem is i cannot convert ids to SQL syntax WHERE id IN ('id1', 'id2') . Let me check with your suggest WHERE id IN (${ids})sagar lama
06/24/2022, 4:26 AMWHERE id IN (${Prisma.join(ids)})
This should work