~/talk

Convenient Prisma Transactions

TalkinRussianat HolyJS 2025 Spring · 2025-04-07..04-08· [databases, developer-experience]
links:none on file
slides:none on file

Prisma ORM’s transaction API is safe but low-level; the talk shows how to make transactions declarative and more convenient by using decorators (new or legacy decorator syntax) to wrap and simplify transactional code.

AI-written summary · about

  1. 0:00Welcome
  2. 1:30Introduction
  3. 2:12Prisma transactions
  4. 4:39ORM transaction comparison
  5. 6:51Clean architecture issues
  6. 8:14Implementation without transactions
  7. 9:20Current problems
  8. 11:27Solution: Local Storage
  9. 12:32Prisma Service for transactions
  10. 13:56Improved service & repo
  11. 14:40getPrismaClient method
  12. 15:01runTransaction method
  13. 16:28Nested transaction complexity
  14. 17:31Spring approach comparison
  15. 18:35Decorator benefits
  16. 19:38Decorator implementation
  17. 21:49Modern JavaScript decorators
  18. 22:51Decorator for new decorators
  19. 23:36Summary & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.