update
Update the given entity in the database.
Parameters
the entity to update.
Update all given entities.
Parameters
the entities to update
Update all entities of this type by the given update document, with optional indexed parameters. The returned io.quarkus.mongodb.panache.common.PanacheUpdate object will allow to restrict on which documents the update should be applied.
Return
a new io.quarkus.mongodb.panache.common.PanacheUpdate instance for the given update document
Parameters
the update document, if it didn't contain any update operator, we add $set. It can also be expressed as a query string.
optional sequence of indexed parameters
Update all entities of this type by the given update document, with named parameters. The returned io.quarkus.mongodb.panache.common.PanacheUpdate object will allow to restrict on which documents the update should be applied.
Return
a new io.quarkus.mongodb.panache.common.PanacheUpdate instance for the given update document
Parameters
the update document, if it didn't contain any update operator, we add $set. It can also be expressed as a query string.
Map of named parameters
Update all entities of this type by the given update document, with named parameters. The returned io.quarkus.mongodb.panache.common.PanacheUpdate object will allow to restrict on which document the update should be applied.
Return
a new io.quarkus.mongodb.panache.common.PanacheUpdate instance for the given update document
Parameters
the update document, if it didn't contain any update operator, we add $set. It can also be expressed as a query string.
Parameters of named parameters
Update all entities of this type by the given update BSON document. The returned io.quarkus.mongodb.panache.common.PanacheUpdate object will allow to restrict on which document the update should be applied.
Return
a new io.quarkus.mongodb.panache.common.PanacheUpdate instance for the given update document
Parameters
the update document, as a Document.