how transactions can be maintained with mongodb

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      i wanted to know how i can maintain transaction with mongo. as when i try to insert into collection so if something went wrong this that transaction how can i rollback .

      eg :
      suppose i have 23 records and when i insert i added data with _id as 100 then data is added successfully but as i m using sequence _id should be 24 but what if i insert some other no.
      so now i want to rollback whatever i have inserted .

            Assignee:
            Mark Agarunov (Inactive)
            Reporter:
            achla gautam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: