Interactive Transactions in Prisma

Опубликовано: 16 Май 2023
на канале: Holodeck
3,930
124

Check out the full course at: https://howtoprisma.com/production-re...

Prisma offers two ways to do transactions: sequential operations or interactive transactions.

When we need to perform some work outside of Prisma before committing a database write, we can use interactive transactions (also called long-running transactions). For example, if we need to call out to a third-party service or do something over the network in between Prisma calls, an interactive transaction is what we want.

In this video, we explore how to use an interactive transaction in Prisma by giving the example of storing a user record in our local database and also in auth0.


Смотрите видео Interactive Transactions in Prisma онлайн, длительностью online в хорошем качестве, которое загружено на канал Holodeck 16 Май 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 3,930 раз и оно понравилось 124 посетителям.