Method Slice
Slice(string, int)
Adds a slice to be included in the results.
public FieldsBuilder Slice(string name, int size)
Parameters
name
stringThe name of the field to slice.
size
intThe size of the slice (negative sizes are taken from the end).
Returns
- FieldsBuilder
The builder (so method calls can be chained).
Slice(string, int, int)
Adds a slice to be included in the results.
public FieldsBuilder Slice(string name, int skip, int limit)
Parameters
name
stringThe name of the field to slice.
skip
intThe number of values to skip.
limit
intThe number of values to extract.
Returns
- FieldsBuilder
The builder (so method calls can be chained).