Class SpannerBatchNonQueryException
Represents an error communicating with the Spanner database when executing batch non query operations.
Implements
Inherited Members
Namespace: Google.Cloud.Spanner.Data
Assembly: Google.Cloud.Spanner.Data.dll
Syntax
public class SpannerBatchNonQueryException : SpannerException, ISerializable
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
Returns the affected rows for each of the batch commands that executed succesfully.
Declaration
public IEnumerable<long> SuccessfulCommandResults { get; }
Property Value
Type | Description |
---|---|
IEnumerable<long> |