how to limit the transaction scope with spring data reactive mongodb transactionalOperator

后端 未结 0 1238
栀梦
栀梦 2020-12-16 04:12

I need to reduce the tx scope for performance reasons. for example

reactiveMongoTemplate.save(a)
    .then(
        reactiveMongoTemplate.inTransaction().exec         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题