Method | Description | |
---|---|---|
Exclude ( ) : |
Adds one or more field names to be excluded from the results.
|
|
FieldsBuilder ( ) : System |
Initializes a new instance of the FieldsBuilder class.
|
|
Include ( ) : |
Adds one or more field names to be included in the results.
|
|
Slice ( string name, int size ) : |
Adds a slice to be included in the results.
|
|
Slice ( string name, int skip, int limit ) : |
Adds a slice to be included in the results.
|
|
ToBsonDocument ( ) : BsonDocument |
Returns the result of the builder as a BsonDocument.
|
Method | Description | |
---|---|---|
Serialize ( BsonWriter bsonWriter, |
Serializes the result of the builder to a BsonWriter.
|
protected Serialize ( BsonWriter bsonWriter, |
||
bsonWriter | BsonWriter | The writer. |
nominalType | The nominal type. | |
options | IBsonSerializationOptions | The serialization options. |
return | void |
public Slice ( string name, int size ) : |
||
name | string | The name of the field to slice. |
size | int | The size of the slice (negative sizes are taken from the end). |
return |
public Slice ( string name, int skip, int limit ) : |
||
name | string | The name of the field to slice. |
skip | int | The number of values to skip. |
limit | int | The number of values to extract. |
return |