[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-30 UTC."],[[["\u003cp\u003eCloud Firestore transactions have three concurrency modes: unspecified, pessimistic, and optimistic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCONCURRENCY_MODE_UNSPECIFIED\u003c/code\u003e enum indicates that the concurrency mode is not specified.\u003c/p\u003e\n"],["\u003cp\u003ePessimistic concurrency is represented by the \u003ccode\u003ePESSIMISTIC\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003eOptimistic concurrency, which can be used with or without entity groups, is represented by \u003ccode\u003eOPTIMISTIC\u003c/code\u003e and \u003ccode\u003eOPTIMISTIC_WITH_ENTITY_GROUPS\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ConcurrencyMode\n\nConcurrency modes for transactions in Cloud Firestore."]]