Interface ReactivePanacheUpdate

All Known Implementing Classes:
ReactivePanacheUpdateImpl

public interface ReactivePanacheUpdate
Interface representing an update query. Use one of its methods to perform the update query.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.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>
    where(String query, Object... params)
    Execute the update query with the update document.
    io.smallrye.mutiny.Uni<Long>
    where(String query, Map<String,Object> params)
    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.
  • Method Details

    • where

      io.smallrye.mutiny.Uni<Long> where(String query, Object... params)
      Execute the update query with the update document.
      Parameters:
      query - a query string
      params - params optional sequence of indexed parameters
      Returns:
      the number of entities updated.
    • where

      io.smallrye.mutiny.Uni<Long> where(String query, Map<String,Object> params)
      Execute the update query with the update document.
      Parameters:
      query - a query string
      params - Map of named parameters
      Returns:
      the number of entities updated.
    • where

      io.smallrye.mutiny.Uni<Long> where(String query, Parameters params)
      Execute the update query with the update document.
      Parameters:
      query - a query string
      params - Parameters of named parameters
      Returns:
      the number of entities updated.
    • where

      io.smallrye.mutiny.Uni<Long> where(org.bson.Document query)
      Execute the update query with the update document.
      Parameters:
      query - a Document query
      Returns:
      the number of entities updated.
    • all

      io.smallrye.mutiny.Uni<Long> all()
      Execute an update on all documents with the update document.
      Returns:
      the number of entities updated.