public sealed class CommitResponse.Types.CommitStats : IMessage<CommitResponse.Types.CommitStats>, IEquatable<CommitResponse.Types.CommitStats>, IDeepCloneable<CommitResponse.Types.CommitStats>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class CommitResponse.Types.CommitStats.
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 latest version available for `CommitResponse.Types.CommitStats` is 5.0.0-beta05, with multiple earlier versions also documented."],["`CommitResponse.Types.CommitStats` is a class within the Google Cloud Spanner v1 API that provides additional statistics about a commit operation."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `CommitStats` class includes a `MutationCount` property of type `long`, representing the total number of mutations in a transaction, which is useful to prevent exceeding system limits."],["The `CommitStats` class has two public constructors: `CommitStats()` and `CommitStats(CommitResponse.Types.CommitStats other)`, which are used to create new instances of the `CommitStats` class."]]],[]]