Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 [REQUEST] - Support Transactions MongoDB #629

Open
abdou6666 opened this issue Jan 26, 2025 · 0 comments
Open

💡 [REQUEST] - Support Transactions MongoDB #629

abdou6666 opened this issue Jan 26, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@abdou6666
Copy link
Member

abdou6666 commented Jan 26, 2025

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

@abdou6666 abdou6666 added the question Further information is requested label Jan 26, 2025
@abdou6666 abdou6666 self-assigned this Jan 26, 2025
@medchedli medchedli added enhancement New feature or request and removed question Further information is requested labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants