Can I only implement transactions by passing in a ClientSession

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Transaction Management
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Excuse me, can I only implement transactions by passing in a ClientSession during CRUD? In this way, I won't be able to customize the operations. For example, if I want to use annotation control, is there a way for me to control it myself? For example, if I pass a ClientSession to MongoClient, I pass it, but it's still not available and cannot be rolled back

              Assignee:
              Unassigned
              Reporter:
              chaoyang jia
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: