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\u003eThe \u003ccode\u003eCommitStats\u003c/code\u003e class provides additional statistics about a commit, offering insights into the transaction's operations within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for reference in the documentation is 5.0.0-beta05, while the presented content focuses on version 3.9.0, with a history of previous versions also listed.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommitStats\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage<CommitResponse.Types.CommitStats>\u003c/code\u003e, \u003ccode\u003eIEquatable<CommitResponse.Types.CommitStats>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CommitResponse.Types.CommitStats>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e, meaning it is part of a structured and well-defined system.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMutationCount\u003c/code\u003e property of \u003ccode\u003eCommitStats\u003c/code\u003e indicates the total number of mutations in a transaction, allowing users to optimize transaction sizes and prevent them from exceeding system limits.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 different constructors, the first one being an empty constructor, and the second one using the \u003ccode\u003eCommitResponse.Types.CommitStats\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,[]]