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"]],[["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-03-21 UTC."],[[["The `CommitStats` class provides additional statistics about a commit, which can be used to optimize transactions by understanding the number of mutations."],["The `CommitStats` class implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, indicating its role in message handling and cloning within the Google Cloud Spanner .NET library."],["This documentation covers various versions of the `CommitResponse.Types.CommitStats`, including the latest beta version `5.0.0-beta05` and ranging down to version `3.5.0`."],["The class includes a `MutationCount` property, an `Int64`, that indicates the total mutations for a given transaction, which can help prevent transactions from exceeding system limits."],["There are two constructors for the `CommitStats` class, one with no parameters, and one that takes a parameter of the type `CommitResponse.Types.CommitStats`."]]],[]]