In Prisma, you can use updateMany with a condition in the WHERE clause: • The database checks the condition and performs the update in one single motion. • If the count is already at the limit, the ...