org.springframework.data.mongodb.core

Interface ReactiveUpdateOperation.TerminatingUpdate<T>

    • Method Detail

      • all

        reactor.core.publisher.Mono<com.mongodb.client.result.UpdateResult> all()
        Update all matching documents in the collection.
        Returns:
        never null.
      • first

        reactor.core.publisher.Mono<com.mongodb.client.result.UpdateResult> first()
        Update the first document in the collection.
        Returns:
        never null.
      • upsert

        reactor.core.publisher.Mono<com.mongodb.client.result.UpdateResult> upsert()
        Creates a new document if no documents match the filter query or updates the matching ones.
        Returns:
        never null.