Skip to content

💡 [REQUEST] - Support Transactions MongoDB #629

@abdou6666

Description

@abdou6666

Start Date

No response

Implementation PR

#628

Reference Issues

Summary

Basic Example

const transactionManager = await this.transactionManagerFactory.create();

await transactionManager.withTransaction(async(session) => {
  await userRepository.delete(userId,session);
 await messagesRepository.deleteMany(userId,session);
} ) 

Drawbacks

Unresolved questions

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions