Class Google::Cloud::Spanner::BatchUpdateError (v2.11.0)

BatchUpdateError

Includes the cause and the partial result set of row counts from a failed batch DML operation. Contains a cause error that provides service error type and message, and a list with the exact number of rows that were modified for each successful statement before the error.

See Transaction#batch_update.

Inherits

  • Google::Cloud::Error

Methods

#row_counts

def row_counts() -> Array<Integer>

A list with the exact number of rows that were modified for each successful statement.

Returns
  • (Array<Integer>) — the current value of row_counts