Package dev.morphia.aggregation.stages
Class Unset
java.lang.Object
dev.morphia.aggregation.stages.Stage
dev.morphia.aggregation.stages.Unset
Removes/excludes fields from documents.
-
Method Summary
-
Method Details
-
unset
Creates a new stage with the given fields- Parameters:
name
- the first fieldnames
- the others- Returns:
- this
- Since:
- 2.2
- MongoDB documentation
- Aggregration Pipeline Stage: $unset
- Since server release
- 4.2
-