The equivalent of connectOrCreate from Prisma

I'm still new to SQL and Drizzle, so I'll try to describe this as best I can. With Prisma you have the connectOrCreate, if you're trying to create a relation that may or may not exist already. Is there anything equivalent in drizzle? So far I haven't been able to figure it out.
1 Reply
bumstaerk
bumstaerkOP3mo ago
Would transactions be the way?

Did you find this page helpful?