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-03-21 UTC."],[[["The `CommitStats` class within the Google Cloud Spanner v1 API provides additional statistics about a commit operation, specifically related to the number of mutations."],["The latest version for the `CommitStats` documentation is version 5.0.0-beta05, and a history of older versions is also available."],["The `CommitStats` class has a property named `MutationCount`, which is a long integer that represents the total number of mutations within a transaction, allowing users to optimize and monitor transactions."],["The `CommitStats` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and also inherits members from the base `Object` class."],["You can construct `CommitStats` objects either with the empty constructor, or by passing in another `CommitResponse.Types.CommitStats` object."]]],[]]