Class BaseFindOneOptions<T, TSort>
Base class for find-one operation options.
public abstract class BaseFindOneOptions<T, TSort> : CommandOptions where T : class where TSort : SortBuilder<T>
Type Parameters
TTSort
- Inheritance
-
BaseFindOneOptions<T, TSort>
- Derived
- Inherited Members
Properties
IncludeSimilarity
Whether to include similarity scores in the results.
public bool? IncludeSimilarity { get; set; }
Property Value
- bool?
Projection
Projection to apply to the results.
public IProjectionBuilder Projection { get; set; }
Property Value
Sort
Sort order for the query.
public TSort Sort { get; set; }
Property Value
- TSort