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, offering insights into the transaction's operations within the `Google.Cloud.Spanner.V1` namespace."],["The 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."],["`CommitStats` inherits from `Object` and implements `IMessage\u003cCommitResponse.Types.CommitStats\u003e`, `IEquatable\u003cCommitResponse.Types.CommitStats\u003e`, `IDeepCloneable\u003cCommitResponse.Types.CommitStats\u003e`, `IBufferMessage`, and `IMessage`, meaning it is part of a structured and well-defined system."],["The `MutationCount` property of `CommitStats` indicates the total number of mutations in a transaction, allowing users to optimize transaction sizes and prevent them from exceeding system limits."],["The class has 2 different constructors, the first one being an empty constructor, and the second one using the `CommitResponse.Types.CommitStats` parameter."]]],[]]