Class ReactivePanacheUpdateImpl
java.lang.Object
io.quarkus.mongodb.panache.common.reactive.runtime.ReactivePanacheUpdateImpl
- All Implemented Interfaces:
ReactivePanacheUpdate
-
Constructor Summary
ConstructorsConstructorDescriptionReactivePanacheUpdateImpl(ReactiveMongoOperations operations, Class<?> entityClass, org.bson.conversions.Bson update, io.quarkus.mongodb.reactive.ReactiveMongoCollection<?> collection) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Long> all()Execute an update on all documents with the update document.io.smallrye.mutiny.Uni<Long> Execute the update query with the update document.io.smallrye.mutiny.Uni<Long> Execute the update query with the update document.io.smallrye.mutiny.Uni<Long> Execute the update query with the update document.io.smallrye.mutiny.Uni<Long> where(org.bson.conversions.Bson query) Execute the update query with the update document.
-
Constructor Details
-
ReactivePanacheUpdateImpl
public ReactivePanacheUpdateImpl(ReactiveMongoOperations operations, Class<?> entityClass, org.bson.conversions.Bson update, io.quarkus.mongodb.reactive.ReactiveMongoCollection<?> collection)
-
-
Method Details
-
where
Description copied from interface:ReactivePanacheUpdateExecute the update query with the update document.- Specified by:
wherein interfaceReactivePanacheUpdate- Parameters:
query- ainvalid reference
query stringparams- params optional sequence of indexed parameters- Returns:
- the number of entities updated.
-
where
Description copied from interface:ReactivePanacheUpdateExecute the update query with the update document.- Specified by:
wherein interfaceReactivePanacheUpdate- Parameters:
query- ainvalid reference
query stringparams-Mapof named parameters- Returns:
- the number of entities updated.
-
where
public io.smallrye.mutiny.Uni<Long> where(String query, io.quarkus.panache.common.Parameters params) Description copied from interface:ReactivePanacheUpdateExecute the update query with the update document.- Specified by:
wherein interfaceReactivePanacheUpdate- Parameters:
query- ainvalid reference
query stringparams-Parametersof named parameters- Returns:
- the number of entities updated.
-
where
Description copied from interface:ReactivePanacheUpdateExecute the update query with the update document.- Specified by:
wherein interfaceReactivePanacheUpdate- Parameters:
query- aBsonquery- Returns:
- the number of entities updated.
-
all
Description copied from interface:ReactivePanacheUpdateExecute an update on all documents with the update document.- Specified by:
allin interfaceReactivePanacheUpdate- Returns:
- the number of entities updated.
-