Class BasePaginatedFindOptions<T, TOptions>
Abstract class for (formally paginated) find-like operation options, capturing the common traits between ordinary find and find-and-rerank.
public abstract class BasePaginatedFindOptions<T, TOptions> : CommandOptions where T : class where TOptions : BasePaginatedFindOptions<T, TOptions>
Type Parameters
TTOptions
- Inheritance
-
BasePaginatedFindOptions<T, TOptions>
- Derived
- Inherited Members
Properties
IncludeSortVector
Whether to include the sort vector in the results.
public bool? IncludeSortVector { get; set; }
Property Value
- bool?
InitialPageState
The initial page state used to resume pagination from a previous find-many operation.
public string InitialPageState { get; set; }
Property Value
Limit
The maximum number of documents to return.
public int? Limit { get; set; }
Property Value
- int?
Projection
Projection to apply to the results.
public IProjectionBuilder Projection { get; set; }