Loopback4中的事务支持? [英] Transaction support in Loopback4?
本文介绍了Loopback4中的事务支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Loopback4中支持交易?是否有相同的装饰器,例如@Transaction?
How to support transaction in Loopback4? Is there a decorator for the same, something like @Transaction?
我在这里查看了文档 https://loopback.io/doc/zh/lb4/Repositories.html ,但未提及该交易.
I looked into the documentation here https://loopback.io/doc/en/lb4/Repositories.html but nothing is mentioned about the transaction.
推荐答案
LoopBack 4不支持开箱即用的事务.请打开一个新的 GitHub 问题来讨论如何实现此功能:
LoopBack 4 does not support transactions out of the box. Please open a new GitHub issue to discuss how to implement this feature:
这篇关于Loopback4中的事务支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文