Class WriteBatch


public class WriteBatch extends UpdateBuilder<WriteBatch>
A Firestore WriteBatch that can be used to atomically commit multiple write operations at once.
See Also:
  • Method Details

    • commit

      @Nonnull public com.google.api.core.ApiFuture<List<WriteResult>> commit()
      Applies the current WriteBatch and returns an array with WriteResults.
      Returns:
      ApiFuture with a List of WriteResults