Uses of Class
org.springframework.data.mongodb.core.query.Field
Packages that use Field
Package
Description
MongoDB specific query and update support.
-
Uses of Field in org.springframework.data.mongodb.core.query
Methods in org.springframework.data.mongodb.core.query that return FieldModifier and TypeMethodDescriptionSet the name to be used in the result and return aField.Exclude a singlefieldfrom being returned by the query operation.Exclude one or morefieldsfrom being returned by the query operation.Field.exclude(Collection<String> fields) Exclude one or morefieldsfrom being returned by the query operation.Query.fields()Include a singlefieldto be returned by the query operation.Include one or morefieldsto be returned by the query operation.Field.include(Collection<String> fields) Include one or morefieldsto be returned by the query operation.The array field must appear in the query.Field.projectAs(MongoExpression expression, String field) Project a givenMongoExpressionto afieldincluded in the result.Project a$sliceof the arrayfieldusing the firstsizeelements.Project a$sliceof the arrayfieldusing the firstsizeelements starting atoffset.