Annotation Interface MongoProjection
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,METHOD,TYPE})
@Documented
@Inherited
public @interface MongoProjection
Defines a custom MongoDB's fields projection.
- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
Optional Element Summary
-
Element Details
-
value
String valueThe custom fields projection represented in JSON.- Returns:
- The collation
- Default:
- ""
-