Skip to content

Commit 89e8a75

Browse files
committed
add region tag to snippet
1 parent ee2931a commit 89e8a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/bigtable/examples/data_snippets.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ void RunWriteExamples(
781781

782782
void PrepareAndExecuteQuery(google::cloud::bigtable::Client client,
783783
std::vector<std::string> const& args) {
784-
// [prepare-and-execute-query]
784+
// [prepare-and-execute-query] [START bigtable_api_execute_query]
785785
namespace cbt = ::google::cloud::bigtable;
786786
[](cbt::Client client, std::string const& project_id,
787787
std::string const& instance_id, std::string const& table_id) {
@@ -807,7 +807,7 @@ void PrepareAndExecuteQuery(google::cloud::bigtable::Client client,
807807
std::cout << std::get<0>(*row) << "; " << (v ? *v : "null") << std::endl;
808808
}
809809
}
810-
// [prepare-and-execute-query]
810+
// [prepare-and-execute-query] [END bigtable_api_execute_query]
811811
(std::move(client), args.at(0), args.at(1), args.at(2));
812812
}
813813

0 commit comments

Comments
 (0)