Class Fields
A builder for specifying which fields of a document the server should return.
public static class Fields
- Inheritance
-
Fields
- Inherited Members
Properties
- Null
Gets a null value with a type of IMongoFields.
Methods
- ElemMatch(string, IMongoQuery)
Returns the first matching element in the array specified by name.
- Exclude(params string[])
Adds one or more field names to be excluded from the results.
- Include(params string[])
Adds one or more field names to be included in the results.
- MetaTextScore(string)
Specifies the name of field to hold the computed relevance score for text search.
- Slice(string, int)
Adds a slice to be included in the results.
- Slice(string, int, int)
Adds a slice to be included in the results.