public sealed class 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-04-17 UTC."],[[["This webpage provides documentation for the `CommitStats` class within the Google Cloud Spanner v1 API, detailing its structure and functionality."],["The latest version of this API is 5.0.0-beta05, while version 4.1.0 is specifically covered here, along with a range of versions going as far back as 3.5.0."],["The `CommitStats` class, part of `CommitResponse.Types`, offers additional statistics about a commit and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `CommitStats` class includes a `MutationCount` property, a `long` integer value which represents the total number of mutations for a specific transaction, and can help with monitoring mutation limits."],["The `CommitStats` class provides two constructors, one default constructor, and one to use when copying over another `CommitStats` instance."]]],[]]