You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check the response code of each response to determine whether the mutation group(s) were applied successfully.
if(response.status.code===0){
console.log(
`Mutation group indexes ${
response.indexes
}, have been applied with commit timestamp ${Spanner.timestamp(
response.commitTimestamp,
).toJSON()}`,
);
}
// Mutation groups that fail to commit trigger a response with a non-zero status code.
else{
console.log(
`Mutation group indexes ${response.indexes}, could not be applied with error code ${response.status.code}, and error message ${response.status.message}`,