Class ReactivePanacheUpdateImpl
java.lang.Object
io.quarkus.mongodb.panache.common.reactive.runtime.ReactivePanacheUpdateImpl
- All Implemented Interfaces:
ReactivePanacheUpdate
-
Constructor Summary
ConstructorDescriptionReactivePanacheUpdateImpl
(ReactiveMongoOperations operations, Class<?> entityClass, org.bson.conversions.Bson update, 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>
where
(String query, Parameters params) 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.Document query) Execute the update query with the update document.
-
Constructor Details
-
ReactivePanacheUpdateImpl
public ReactivePanacheUpdateImpl(ReactiveMongoOperations operations, Class<?> entityClass, org.bson.conversions.Bson update, ReactiveMongoCollection<?> collection)
-
-
Method Details
-
where
Description copied from interface:ReactivePanacheUpdate
Execute the update query with the update document.- Specified by:
where
in interfaceReactivePanacheUpdate
- Parameters:
query
- aquery string
params
- params optional sequence of indexed parameters- Returns:
- the number of entities updated.
-
where
Description copied from interface:ReactivePanacheUpdate
Execute the update query with the update document.- Specified by:
where
in interfaceReactivePanacheUpdate
- Parameters:
query
- aquery string
params
-Map
of named parameters- Returns:
- the number of entities updated.
-
where
Description copied from interface:ReactivePanacheUpdate
Execute the update query with the update document.- Specified by:
where
in interfaceReactivePanacheUpdate
- Parameters:
query
- aquery string
params
-Parameters
of named parameters- Returns:
- the number of entities updated.
-
where
Description copied from interface:ReactivePanacheUpdate
Execute the update query with the update document.- Specified by:
where
in interfaceReactivePanacheUpdate
- Parameters:
query
- aDocument
query- Returns:
- the number of entities updated.
-
all
Description copied from interface:ReactivePanacheUpdate
Execute an update on all documents with the update document.- Specified by:
all
in interfaceReactivePanacheUpdate
- Returns:
- the number of entities updated.
-