Annotation Interface MongoUpdateQuery


@Retention(RUNTIME) @Target(METHOD) @Documented @Inherited public @interface MongoUpdateQuery
Defines a custom MongoDB update query.
Since:
3.3.0
Author:
Denis Stepanov
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The custom MongoDB filter.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The array filters.
    The custom collation represented in JSON.
    The custom MongoDB filter.
  • Element Details

    • update

      String update
      The custom MongoDB filter.
      Returns:
      The update value
    • filter

      @AliasFor(member="value", annotation=MongoFilter.class) String filter
      The custom MongoDB filter.
      Returns:
      The filter value
      Default:
      ""
    • collation

      @AliasFor(member="value", annotation=MongoCollation.class) String collation
      The custom collation represented in JSON.
      Returns:
      The collation
      Default:
      ""
    • arrayFilters

      @AliasFor(member="arrayFilters", annotation=MongoUpdateOptions.class) String[] arrayFilters
      The array filters.
      Returns:
      The array filters
      Since:
      4.2.0
      Default:
      {}