class Google::Apis::SpannerV1::ExecuteBatchDmlResponse
third statement failed, and the fourth and fifth statements were not executed.
INVALID_ARGUMENT`) status. The number of ResultSet messages indicates that the
has a syntax error. * Response: 2 ResultSet messages, and a syntax error (‘
the status `OK`. Example 2: * Request: 5 DML statements. The third statement
statements, all executed successfully. * Response: 5 ResultSet messages, with
then statement `N+1` in the request failed. Example 1: * Request: 5 DML
result sets in the response. If the response contains `N` ResultSet messages,
were executed successfully. 2. If the status was not `OK`, check the number of
message. The google.rpc.Code enum value `OK` indicates that all statements
that failed, use the following approach: 1. Check the status in the response
response body identifies the cause of the failure. To check for DML statements
the statements in the request. If a statement fails, the status in the
for each DML statement that has successfully executed, in the same order as
The response for ExecuteBatchDml. Contains a list of ResultSet messages, one
def initialize(**args)
def initialize(**args) update!(**args) end
def update!(**args)
def update!(**args) @result_sets = args[:result_sets] if args.key?(:result_sets) @status = args[:status] if args.key?(:status) end