public sealed class CommitResponse.Types.CommitStats : IMessage<CommitResponse.Types.CommitStats>, IEquatable<CommitResponse.Types.CommitStats>, IDeepCloneable<CommitResponse.Types.CommitStats>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class CommitResponse.Types.CommitStats.
The total number of mutations for the transaction. Knowing the
mutation_count value can help you maximize the number of mutations
in a transaction and minimize the number of API round trips. You can
also monitor this value to prevent transactions from exceeding the system
limit.
If the number of mutations exceeds the limit, the server returns
INVALID_ARGUMENT.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCommitResponse.Types.CommitStats\u003c/code\u003e class provides additional statistics about a commit operation within the Google Cloud Spanner v1 API, offering insights into transaction details.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, with numerous versions spanning from \u003ccode\u003e3.5.0\u003c/code\u003e up to the current beta.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eCommitResponse.Types.CommitStats\u003c/code\u003e implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, reflecting its integration with the Google.Protobuf library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitStats\u003c/code\u003e class includes a \u003ccode\u003eMutationCount\u003c/code\u003e property which returns the number of mutations in the current transaction, allowing monitoring against system limits.\u003c/p\u003e\n"],["\u003cp\u003eThe API documents are available in several versions of the Google Cloud Spanner v1 API, each having its own unique URL for documentation.\u003c/p\u003e\n"]]],[],null,[]]