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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    The bypassDocumentValidation.
    The hint.
    boolean
    The upsert.
  • Element Details

    • upsert

      boolean upsert
      The upsert.
      Returns:
      The upsert value
      Default:
      false
    • bypassDocumentValidation

      boolean bypassDocumentValidation
      The bypassDocumentValidation.
      Returns:
      The bypassDocumentValidation value
      Default:
      false
    • hint

      String hint
      The hint.
      Returns:
      The hint value
      Default:
      ""