Class Update<T>

  • Type Parameters:
    T -

    public class Update<T>
    extends UpdateBase<T>
    Defines an update operation
    • Method Detail

      • execute

        public com.mongodb.client.result.UpdateResult execute()
        Executes the update
        Returns:
        the results
      • execute

        public com.mongodb.client.result.UpdateResult execute​(UpdateOptions options)
        Executes the update
        Parameters:
        options - the options to apply
        Returns:
        the results