public sealed class CommitStats : IMessage<CommitResponse.Types.CommitStats>, IEquatable<CommitResponse.Types.CommitStats>, IDeepCloneable<CommitResponse.Types.CommitStats>, IBufferMessage, IMessage
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\u003eThis webpage provides documentation for the \u003ccode\u003eCommitStats\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, detailing various versions of the .NET library for Google Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitStats\u003c/code\u003e class offers additional statistics about a commit and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the \u003ccode\u003eCommitStats\u003c/code\u003e documentation, from the latest beta (5.0.0-beta05) down to version 3.5.0, allowing users to browse based on their library version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitStats\u003c/code\u003e class includes a \u003ccode\u003eMutationCount\u003c/code\u003e property of type \u003ccode\u003eInt64\u003c/code\u003e, which allows users to monitor and manage the number of mutations in a transaction, thus helping to avoid exceeding system limits.\u003c/p\u003e\n"],["\u003cp\u003eThe page shows that the \u003ccode\u003eCommitStats\u003c/code\u003e object can be created with a constructor without parameters, or with a parameter of the same type (\u003ccode\u003eCommitResponse.Types.CommitStats\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]