Skip to content

Commit

Permalink
add logic for CheckAndMutateRows
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Jan 10, 2025
1 parent 9d41929 commit af657c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Bigtable/tests/Conformance/proxy/src/ProxyService.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ public function BulkMutateRows(GRPC\ContextInterface $ctx, Testproxy\MutateRowsR
*/
public function CheckAndMutateRow(GRPC\ContextInterface $ctx, Testproxy\CheckAndMutateRowRequest $in): Testproxy\CheckAndMutateRowResult
{
return new Testproxy\CheckAndMutateRowResult();
[$client, $config] = $this->getClientAndConfig($in->getClientId());
$response = $client->checkAndMutateRows($in->getRequest());

return new Testproxy\CheckAndMutateRowResult(['result' => $response]);
}

/**
Expand Down

0 comments on commit af657c9

Please sign in to comment.