Annotation Interface MongoUpdateOptions
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,METHOD,TYPE})
@Documented
@Inherited
public @interface MongoUpdateOptions
Defines a custom MongoDB update query options.
- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
The bypassDocumentValidation.The hint.boolean
The upsert.
-
Element Details
-
upsert
boolean upsertThe upsert.- Returns:
- The upsert value
- Default:
- false
-
bypassDocumentValidation
boolean bypassDocumentValidationThe bypassDocumentValidation.- Returns:
- The bypassDocumentValidation value
- Default:
- false
-
hint
String hintThe hint.- Returns:
- The hint value
- Default:
- ""
-