Package dev.morphia.query
Class Update<T>
- java.lang.Object
-
- dev.morphia.query.UpdateBase<T>
-
- dev.morphia.query.Update<T>
-
- Type Parameters:
T
-
@Deprecated(since="2.3") public class Update<T> extends UpdateBase<T>
Deprecated.Defines an update operation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UpdateResult
execute()
Deprecated.Executes the updateUpdateResult
execute(UpdateOptions options)
Deprecated.Executes the update-
Methods inherited from class dev.morphia.query.UpdateBase
add, getCollection, getDatastore, getQuery, getUpdates, toDocument, toString
-
-
-
-
Method Detail
-
execute
public UpdateResult execute()
Deprecated.Executes the update- Returns:
- the results
-
execute
public UpdateResult execute(UpdateOptions options)
Deprecated.Executes the update- Parameters:
options
- the options to apply- Returns:
- the results
-
-