Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion firestore/save_data_batch_writes.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

func batchWrite(ctx context.Context, client *firestore.Client) error {
// Get a new write batch.
batch := client.Batch()
batch := client.BulkWriter(ctx)

// Set the value of "NYC".
nycRef := client.Collection("cities").Doc("NYC")
Expand Down