Table of Contents

Class BaseReplaceOneOptions<T, TSort>

Namespace
DataStax.AstraDB.DataApi.Core
Assembly
DataStax.AstraDB.DataApi.dll

Base class for replace-one operation options.

public abstract class BaseReplaceOneOptions<T, TSort> : CommandOptions where T : class where TSort : SortBuilder<T>

Type Parameters

T
TSort
Inheritance
BaseReplaceOneOptions<T, TSort>
Derived
Inherited Members

Properties

Sort

Sort order for determining which document to replace when multiple match the filter.

public TSort Sort { get; set; }

Property Value

TSort

Upsert

Whether to insert the document if no matching document is found or not.

public bool Upsert { get; set; }

Property Value

bool