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 9c1f9fe commit 8cda6cdCopy full SHA for 8cda6cd
firestore/src/main/java/com/example/firestore/snippets/ManageDataSnippets.java
@@ -404,6 +404,7 @@ void writeBatch() throws Exception {
404
// [START fs_write_batch]
405
// Get a new write batch
406
WriteBatch batch = db.batch();
407
+
408
// Set the value of 'NYC'
409
DocumentReference nycRef = db.collection("cities").document("NYC");
410
batch.set(nycRef, new City());
0 commit comments