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 f8cf45d commit 819b008Copy full SHA for 819b008
firestore/src/data_batch_writes.php
@@ -37,7 +37,7 @@ function data_batch_writes(string $projectId): void
37
'projectId' => $projectId,
38
]);
39
# [START firestore_data_batch_writes]
40
- $batch = $db->batch();
+ $batch = $db->bulkWriter();
41
42
# Set the data for NYC
43
$nycRef = $db->collection('samples/php/cities')->document('NYC');
0 commit comments