We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405ae20 commit 40eedd3Copy full SHA for 40eedd3
datastore/api/src/functions/concepts.php
@@ -125,7 +125,7 @@ function update(DatastoreClient $datastore)
125
$key = $datastore->key('Task', 'sampleTask');
126
$task = $transaction->lookup($key);
127
$task['priority'] = 5;
128
- $transaction->upsert($task);
+ $transaction->update($task);
129
$transaction->commit();
130
// [END datastore_update]
131
return $task;
0 commit comments