Is something like this possible?
Is something like this possible with prisma:
I have a table with applications, and a table with the differents status's the applications has. Now, I want to get applications with a specific form_id, with the status, but only the latest status. Then I would like to filter that status, so it's only "pending" or "accpeted for example..
The above query does what I want, but I can't really see how I should do that in prisma.
3 Replies
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into
#ask-ai
if you get antsy for a second opinion!I have started experimenting with TypedSQL. But I don't know, how I would make the status, an argument.
I'm using MySQL:
I can see in the docs that you can pass in arrays, but only for PostgreSQL. How would I do it with MySQL?