Annotation Type 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 bypassDocumentValidation
      The bypassDocumentValidation.
      java.lang.String hint
      The hint.
      boolean upsert
      The upsert.
    • Element Detail

      • upsert

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

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

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