Is it possible to query by Uuid using Prisma?

So as I understand you don't want to create UUID's yourself but use the external ones?

If that assumption is correct I think you don't need @db.Uuid, as it indicates that prisma should rely on your database to create Uuids: Check their documentation about it.

Your where looks correct to me, what is the type of some_variable.WorldId ? Is it really string?

Another problem I could think of is that you forgot to migrate, after adding the Uuid field to the database.