C# Класс MongoDB.Driver.Builders.Fields

Показать файл Открыть проект

Открытые методы

Метод Описание
Exclude ( ) : FieldsBuilder

Adds one or more field names to be excluded from the results.

Include ( ) : FieldsBuilder

Adds one or more field names to be included in the results.

Slice ( string name, int size ) : FieldsBuilder

Adds a slice to be included in the results.

Slice ( string name, int skip, int limit ) : FieldsBuilder

Adds a slice to be included in the results.

Описание методов

Exclude() публичный статический Метод

Adds one or more field names to be excluded from the results.
public static Exclude ( ) : FieldsBuilder
Результат FieldsBuilder

Include() публичный статический Метод

Adds one or more field names to be included in the results.
public static Include ( ) : FieldsBuilder
Результат FieldsBuilder

Slice() публичный статический Метод

Adds a slice to be included in the results.
public static Slice ( string name, int size ) : FieldsBuilder
name string The name of the field to slice.
size int The size of the slice (negative sizes are taken from the end).
Результат FieldsBuilder

Slice() публичный статический Метод

Adds a slice to be included in the results.
public static Slice ( string name, int skip, int limit ) : FieldsBuilder
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.
Результат FieldsBuilder