Skip to content

Commit e081a23

Browse files
WalterHubTakashi Matsuo
authored andcommitted
Updated region tags for docs (GoogleCloudPlatform#201)
1 parent 4a89554 commit e081a23

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

datastore/api/src/functions/concepts.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ function projection_query(DatastoreClient $datastore)
504504
*/
505505
function run_projection_query(DatastoreClient $datastore, Query $query)
506506
{
507-
// [START run_projection_query]
507+
// [START run_query_projection]
508508
$priorities = array();
509509
$percentCompletes = array();
510510
$result = $datastore->runQuery($query);
@@ -513,7 +513,7 @@ function run_projection_query(DatastoreClient $datastore, Query $query)
513513
$priorities[] = $task['priority'];
514514
$percentCompletes[] = $task['percent_complete'];
515515
}
516-
// [END run_projection_query]
516+
// [END run_query_projection]
517517
return array($priorities, $percentCompletes);
518518
}
519519

@@ -525,14 +525,14 @@ function run_projection_query(DatastoreClient $datastore, Query $query)
525525
*/
526526
function distinct_on(DatastoreClient $datastore)
527527
{
528-
// [START distinct_on]
528+
// [START distinct_on_query]
529529
$query = $datastore->query()
530530
->kind('Task')
531531
->order('category')
532532
->order('priority')
533533
->projection(['category', 'priority'])
534534
->distinctOn('category');
535-
// [END distinct_on]
535+
// [END distinct_on_query]
536536
return $query;
537537
}
538538

0 commit comments

Comments
 (0)