Package com.google.cloud.firestore
Class WriteBatch
A Firestore WriteBatch that can be used to atomically commit multiple write operations at once.
- See Also:
-
Field Summary
Fields inherited from class com.google.cloud.firestore.UpdateBuilder
committed -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.core.ApiFuture<List<WriteResult>>commit()Applies the current WriteBatch and returns an array with WriteResults.
-
Method Details
-
commit
Applies the current WriteBatch and returns an array with WriteResults.- Returns:
- ApiFuture with a List of WriteResults
-