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 details the \u003ccode\u003eCommitStats\u003c/code\u003e class, which provides additional statistics about a commit operation within the Google Cloud Spanner V1 API, spanning multiple versions from 3.5.0 to the latest beta release 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitStats\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its integration with Google Protobuf and .NET object models.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default constructor and one that accepts another \u003ccode\u003eCommitStats\u003c/code\u003e instance for creating copies.\u003c/p\u003e\n"],["\u003cp\u003eThe primary property of the \u003ccode\u003eCommitStats\u003c/code\u003e class is \u003ccode\u003eMutationCount\u003c/code\u003e, an \u003ccode\u003eInt64\u003c/code\u003e value representing the total number of mutations in a transaction, which helps in optimizing transaction size and preventing API usage limits.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is Google.Cloud.Spanner.V1, and it is found within the Google.Cloud.Spanner.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,[]]