public class SpannerBatchNonQueryException : SpannerException, ISerializable
Represents an error communicating with the Spanner database when executing batch non query operations.
Implements
ISerializableNamespace
Google.Cloud.Spanner.DataAssembly
Google.Cloud.Spanner.Data.dll
Remarks
In Spanner batched commands are executed sequentially in the order they are received. If one command fails then the following commands won't be executed. This exception contains the error code and error message corresponding to the command that failed. It also contains the number of rows modified by each of the commands that executed successfully.
Properties
SuccessfulCommandResults
public IEnumerable<long> SuccessfulCommandResults { get; }
Returns the affected rows for each of the batch commands that executed succesfully.
Property Value | |
---|---|
Type | Description |
IEnumerable<Int64> |