Table of Contents

Class Table<T>

Namespace
DataStax.AstraDB.DataApi.Tables
Assembly
DataStax.AstraDB.DataApi.dll

This is the main entry point for interacting with a table in the Astra DB Data API.

public class Table<T> where T : class

Type Parameters

T

The type to use for rows in the table (when not specified, defaults to Row

Inheritance
Table<T>
Inherited Members

Properties

TableName

Access the name of the table

public string TableName { get; }

Property Value

string

Methods

Alter(IAlterTableOperation, AlterTableOptions)

This is a synchronous version of AlterAsync(IAlterTableOperation, AlterTableOptions).

public Table<T> Alter(IAlterTableOperation operation, AlterTableOptions options = null)

Parameters

operation IAlterTableOperation

The alteration operation to apply.

options AlterTableOptions

Options to customize the command execution.

Returns

Table<T>

A Table<T> instance representing the table.

Remarks

The type-parameterized form of this method, AlterAsync<TRowAfterAlter>(IAlterTableOperation, AlterTableOptions), is recommended for type safety.

AlterAsync(IAlterTableOperation, AlterTableOptions)

Alters a table using the specified operation.

public Task<Table<T>> AlterAsync(IAlterTableOperation operation, AlterTableOptions options = null)

Parameters

operation IAlterTableOperation

The alteration operation to apply.

options AlterTableOptions

Options to customize the command execution.

Returns

Task<Table<T>>

A Table<T> instance representing the table.

Remarks

The type-parameterized form of this method, AlterAsync<TRowAfterAlter>(IAlterTableOperation, AlterTableOptions), is recommended for type safety.

AlterAsync<TRowAfterAlter>(IAlterTableOperation, AlterTableOptions)

Alters a table using the specified operation.

public Task<Table<TRowAfterAlter>> AlterAsync<TRowAfterAlter>(IAlterTableOperation operation, AlterTableOptions options = null) where TRowAfterAlter : class

Parameters

operation IAlterTableOperation

The alteration operation to apply.

options AlterTableOptions

Options to customize the command execution.

Returns

Task<Table<TRowAfterAlter>>

A Table<T> instance with the new row type.

Type Parameters

TRowAfterAlter

The type representing the row after the table is altered.

Alter<TRowAfterAlter>(IAlterTableOperation, AlterTableOptions)

public Table<TRowAfterAlter> Alter<TRowAfterAlter>(IAlterTableOperation operation, AlterTableOptions options = null) where TRowAfterAlter : class

Parameters

operation IAlterTableOperation

The alteration operation to apply.

options AlterTableOptions

Options to customize the command execution.

Returns

Table<TRowAfterAlter>

A Table<T> instance with the new row type.

Type Parameters

TRowAfterAlter

The type representing the row after the table is altered.

CreateIndex(string, string, CreateIndexOptions)

public void CreateIndex(string indexName, string columnName, CreateIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The name of the column to index

options CreateIndexOptions

CreateIndex(string, string, TableIndexDefinition, CreateIndexOptions)

public void CreateIndex(string indexName, string columnName, TableIndexDefinition indexDefinition, CreateIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The name of the column to index

indexDefinition TableIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateIndexOptions

CreateIndexAsync(string, string, CreateIndexOptions)

Create an index on the specified column

public Task CreateIndexAsync(string indexName, string columnName, CreateIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The name of the column to index

options CreateIndexOptions

Returns

Task

CreateIndexAsync(string, string, TableIndexDefinition, CreateIndexOptions)

Create an index on the specified column

public Task CreateIndexAsync(string indexName, string columnName, TableIndexDefinition indexDefinition, CreateIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The name of the column to index

indexDefinition TableIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateIndexOptions

Returns

Task

CreateIndexAsync<TColumn>(string, Expression<Func<T, TColumn>>, CreateIndexOptions)

Create an index on the specified column

public Task CreateIndexAsync<TColumn>(string indexName, Expression<Func<T, TColumn>> column, CreateIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The column to index

options CreateIndexOptions

Returns

Task

Type Parameters

TColumn

CreateIndexAsync<TColumn>(string, Expression<Func<T, TColumn>>, TableIndexDefinition, CreateIndexOptions)

Create an index on the specified column

public Task CreateIndexAsync<TColumn>(string indexName, Expression<Func<T, TColumn>> column, TableIndexDefinition indexDefinition, CreateIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The column to index

indexDefinition TableIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateIndexOptions

Returns

Task

Type Parameters

TColumn

CreateIndex<TColumn>(string, Expression<Func<T, TColumn>>, CreateIndexOptions)

public void CreateIndex<TColumn>(string indexName, Expression<Func<T, TColumn>> column, CreateIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The column to index

options CreateIndexOptions

Type Parameters

TColumn

CreateIndex<TColumn>(string, Expression<Func<T, TColumn>>, TableIndexDefinition, CreateIndexOptions)

public void CreateIndex<TColumn>(string indexName, Expression<Func<T, TColumn>> column, TableIndexDefinition indexDefinition, CreateIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The column to index

indexDefinition TableIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateIndexOptions

Type Parameters

TColumn

CreateTextIndex(string, string, CreateTextIndexOptions)

public void CreateTextIndex(string indexName, string columnName, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The text column to index

options CreateTextIndexOptions

CreateTextIndex(string, string, TableTextIndexDefinition, CreateTextIndexOptions)

public void CreateTextIndex(string indexName, string columnName, TableTextIndexDefinition indexDefinition, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The text column to index

indexDefinition TableTextIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateTextIndexOptions

CreateTextIndexAsync(string, string, CreateTextIndexOptions)

Create a text index on the specified column

public Task CreateTextIndexAsync(string indexName, string columnName, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The text column to index

options CreateTextIndexOptions

Returns

Task

CreateTextIndexAsync(string, string, TableTextIndexDefinition, CreateTextIndexOptions)

Create a text index on the specified column

public Task CreateTextIndexAsync(string indexName, string columnName, TableTextIndexDefinition indexDefinition, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The text column to index

indexDefinition TableTextIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateTextIndexOptions

Returns

Task

CreateTextIndexAsync<TColumn>(string, Expression<Func<T, TColumn>>, CreateTextIndexOptions)

Create a text index on the specified column

public Task CreateTextIndexAsync<TColumn>(string indexName, Expression<Func<T, TColumn>> column, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The text column to index

options CreateTextIndexOptions

Returns

Task

Type Parameters

TColumn

The type of the column to index

CreateTextIndexAsync<TColumn>(string, Expression<Func<T, TColumn>>, TableTextIndexDefinition, CreateTextIndexOptions)

Create a text index on the specified column

public Task CreateTextIndexAsync<TColumn>(string indexName, Expression<Func<T, TColumn>> column, TableTextIndexDefinition indexDefinition, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The text column to index

indexDefinition TableTextIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateTextIndexOptions

Returns

Task

Type Parameters

TColumn

The type of the column to index

CreateTextIndex<TColumn>(string, Expression<Func<T, TColumn>>, CreateTextIndexOptions)

public void CreateTextIndex<TColumn>(string indexName, Expression<Func<T, TColumn>> column, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The text column to index

options CreateTextIndexOptions

Type Parameters

TColumn

The type of the column to index

CreateTextIndex<TColumn>(string, Expression<Func<T, TColumn>>, TableTextIndexDefinition, CreateTextIndexOptions)

public void CreateTextIndex<TColumn>(string indexName, Expression<Func<T, TColumn>> column, TableTextIndexDefinition indexDefinition, CreateTextIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The text column to index

indexDefinition TableTextIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateTextIndexOptions

Type Parameters

TColumn

The type of the column to index

CreateVectorIndex(string, string, CreateVectorIndexOptions)

public void CreateVectorIndex(string indexName, string columnName, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The vector column to index

options CreateVectorIndexOptions

CreateVectorIndex(string, string, TableVectorIndexDefinition, CreateVectorIndexOptions)

public void CreateVectorIndex(string indexName, string columnName, TableVectorIndexDefinition indexDefinition, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The vector column to index

indexDefinition TableVectorIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateVectorIndexOptions

CreateVectorIndexAsync(string, string, CreateVectorIndexOptions)

Create a vector index on the specified column

public Task CreateVectorIndexAsync(string indexName, string columnName, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The vector column to index

options CreateVectorIndexOptions

Returns

Task

CreateVectorIndexAsync(string, string, TableVectorIndexDefinition, CreateVectorIndexOptions)

Create a vector index on the specified column

public Task CreateVectorIndexAsync(string indexName, string columnName, TableVectorIndexDefinition indexDefinition, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

columnName string

The vector column to index

indexDefinition TableVectorIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateVectorIndexOptions

Returns

Task

CreateVectorIndexAsync<TColumn>(string, Expression<Func<T, TColumn>>, CreateVectorIndexOptions)

Create a vector index on the specified column

public Task CreateVectorIndexAsync<TColumn>(string indexName, Expression<Func<T, TColumn>> column, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The vector column to index

options CreateVectorIndexOptions

Returns

Task

Type Parameters

TColumn

The type of the column to index

CreateVectorIndexAsync<TColumn>(string, Expression<Func<T, TColumn>>, TableVectorIndexDefinition, CreateVectorIndexOptions)

Create a vector index on the specified column

public Task CreateVectorIndexAsync<TColumn>(string indexName, Expression<Func<T, TColumn>> column, TableVectorIndexDefinition indexDefinition, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The vector column to index

indexDefinition TableVectorIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateVectorIndexOptions

Returns

Task

Type Parameters

TColumn

The type of the column to index

CreateVectorIndex<TColumn>(string, Expression<Func<T, TColumn>>, CreateVectorIndexOptions)

public void CreateVectorIndex<TColumn>(string indexName, Expression<Func<T, TColumn>> column, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The vector column to index

options CreateVectorIndexOptions

Type Parameters

TColumn

The type of the column to index

CreateVectorIndex<TColumn>(string, Expression<Func<T, TColumn>>, TableVectorIndexDefinition, CreateVectorIndexOptions)

public void CreateVectorIndex<TColumn>(string indexName, Expression<Func<T, TColumn>> column, TableVectorIndexDefinition indexDefinition, CreateVectorIndexOptions options = null)

Parameters

indexName string

The index name

column Expression<Func<T, TColumn>>

The vector column to index

indexDefinition TableVectorIndexDefinition

Use TableIndex to create the appropriate index definition.

options CreateVectorIndexOptions

Type Parameters

TColumn

The type of the column to index

DeleteMany(TableFilter<T>, TableDeleteManyOptions)

public void DeleteMany(TableFilter<T> filter, TableDeleteManyOptions options = null)

Parameters

filter TableFilter<T>

The filter to match rows.

options TableDeleteManyOptions

Options for the delete operation.

DeleteManyAsync(TableFilter<T>, TableDeleteManyOptions)

Delete all rows matching the filter from the table.

public Task DeleteManyAsync(TableFilter<T> filter, TableDeleteManyOptions options = null)

Parameters

filter TableFilter<T>

The filter to match rows.

options TableDeleteManyOptions

Options for the delete operation.

Returns

Task

A task representing the asynchronous operation.

DeleteOne(TableFilter<T>, TableDeleteOneOptions)

public void DeleteOne(TableFilter<T> filter, TableDeleteOneOptions options = null)

Parameters

filter TableFilter<T>

The filter to match rows.

options TableDeleteOneOptions

Options for the delete operation.

DeleteOneAsync(TableFilter<T>, TableDeleteOneOptions)

Delete a row from the table.

public Task DeleteOneAsync(TableFilter<T> filter, TableDeleteOneOptions options = null)

Parameters

filter TableFilter<T>

The filter to match rows.

options TableDeleteOneOptions

Options for the delete operation.

Returns

Task

A task representing the asynchronous operation.

Drop(DropTableOptions)

Synchronous version of DropAsync(DropTableOptions)

public void Drop(DropTableOptions options = null)

Parameters

options DropTableOptions

Additional options for the drop operation. Keyspace overriding is not allowed..

DropAsync(DropTableOptions)

Drops the table from the database.

public Task DropAsync(DropTableOptions options = null)

Parameters

options DropTableOptions

Additional options for the drop operation. Keyspace overriding is not allowed..

Returns

Task

Find(TableFilter<T>, TableFindOptions<T>)

Find rows in the table.

The Find() methods return a TableFindCursor<T, TResult> object that can be used to further structure the query by adding Sort, Projection, Skip, Limit, etc. to affect the final results.

The TableFindCursor<T, TResult> object can be directly enumerated both synchronously and asynchronously.

public TableFindCursor<T> Find(TableFilter<T> filter, TableFindOptions<T> options = null)

Parameters

filter TableFilter<T>
options TableFindOptions<T>

Returns

TableFindCursor<T>

Examples

Synchronous Enumeration:

var cursor = table.Find();
foreach (var row in cursor)
{
    // Process row
}

Asynchronous Enumeration:

var results = table.Find();
await foreach (var row in results)
{
    // Process row
}

Remarks

Timeouts passed in the TableFindOptions<T> (ConnectionTimeout and RequestTimeout) will be used for each batched request to the API, however BulkOperationCancellationToken settings are ignored due to the nature of Enumeration. If you need to enforce a timeout for the entire operation, you can pass a CancellationToken to GetAsyncEnumerator.

Find(TableFindOptions<T>)

Find rows in the table.

The Find() methods return a TableFindCursor<T, TResult> object that can be used to further structure the query by adding Sort, Projection, Skip, Limit, etc. to affect the final results.

The TableFindCursor<T, TResult> object can be directly enumerated both synchronously and asynchronously.

public TableFindCursor<T> Find(TableFindOptions<T> options = null)

Parameters

options TableFindOptions<T>

Returns

TableFindCursor<T>

Examples

Synchronous Enumeration:

var cursor = table.Find();
foreach (var row in cursor)
{
    // Process row
}

Asynchronous Enumeration:

var results = table.Find();
await foreach (var row in results)
{
    // Process row
}

Remarks

Timeouts passed in the TableFindOptions<T> (ConnectionTimeout and RequestTimeout) will be used for each batched request to the API, however BulkOperationCancellationToken settings are ignored due to the nature of Enumeration. If you need to enforce a timeout for the entire operation, you can pass a CancellationToken to GetAsyncEnumerator.

FindOne(TableFilter<T>, TableFindOneOptions<T>)

Find a single row in the table using the specified find options.

public T FindOne(TableFilter<T> filter, TableFindOneOptions<T> options = null)

Parameters

filter TableFilter<T>
options TableFindOneOptions<T>

Specify Sort options for the find operation.

Returns

T

FindOne(TableFindOneOptions<T>)

Find a single row in the table using the specified find options.

public T FindOne(TableFindOneOptions<T> options = null)

Parameters

options TableFindOneOptions<T>

Specify Sort options for the find operation.

Returns

T

FindOneAsync(TableFilter<T>, TableFindOneOptions<T>)

Find a single row in the table using the specified find options.

public Task<T> FindOneAsync(TableFilter<T> filter, TableFindOneOptions<T> options = null)

Parameters

filter TableFilter<T>
options TableFindOneOptions<T>

Specify Sort options for the find operation.

Returns

Task<T>

FindOneAsync(TableFindOneOptions<T>)

Find a single row in the table using the specified find options.

public Task<T> FindOneAsync(TableFindOneOptions<T> options = null)

Parameters

options TableFindOneOptions<T>

Specify Sort options for the find operation.

Returns

Task<T>

FindOneAsync<TResult>(TableFilter<T>, TableFindOneOptions<T>)

Find a single row in the table, specifying a different result row class type TResult (useful when you want to project only certain fields).

public Task<TResult> FindOneAsync<TResult>(TableFilter<T> filter, TableFindOneOptions<T> options = null) where TResult : class

Parameters

filter TableFilter<T>
options TableFindOneOptions<T>

Specify Sort options for the find operation.

Returns

Task<TResult>

Type Parameters

TResult

FindOneAsync<TResult>(TableFindOneOptions<T>)

Find a single row in the table, specifying a different result row class type TResult (useful when you want to project only certain fields).

public Task<TResult> FindOneAsync<TResult>(TableFindOneOptions<T> options = null) where TResult : class

Parameters

options TableFindOneOptions<T>

Returns

Task<TResult>

Type Parameters

TResult

FindOne<TResult>(TableFilter<T>, TableFindOneOptions<T>)

Find a single row in the table, specifying a different result row class type TResult (useful when you want to project only certain fields).

public TResult FindOne<TResult>(TableFilter<T> filter, TableFindOneOptions<T> options = null) where TResult : class

Parameters

filter TableFilter<T>
options TableFindOneOptions<T>

Specify Sort options for the find operation.

Returns

TResult

Type Parameters

TResult

FindOne<TResult>(TableFindOneOptions<T>)

Find a single row in the table, specifying a different result row class type TResult (useful when you want to project only certain fields).

public TResult FindOne<TResult>(TableFindOneOptions<T> options = null) where TResult : class

Parameters

options TableFindOneOptions<T>

Specify Sort options for the find operation.

Returns

TResult

Type Parameters

TResult

Find<TResult>(TableFilter<T>, TableFindOptions<T>)

Find rows in the table.

The Find() methods return a TableFindCursor<T, TResult> object that can be used to further structure the query by adding Sort, Projection, Skip, Limit, etc. to affect the final results.

The TableFindCursor<T, TResult> object can be directly enumerated both synchronously and asynchronously.

public TableFindCursor<T, TResult> Find<TResult>(TableFilter<T> filter, TableFindOptions<T> options = null) where TResult : class

Parameters

filter TableFilter<T>
options TableFindOptions<T>

Returns

TableFindCursor<T, TResult>

Type Parameters

TResult

Examples

Synchronous Enumeration:

var cursor = table.Find();
foreach (var row in cursor)
{
    // Process row
}

Asynchronous Enumeration:

var results = table.Find();
await foreach (var row in results)
{
    // Process row
}

Remarks

Timeouts passed in the TableFindOptions<T> (ConnectionTimeout and RequestTimeout) will be used for each batched request to the API, however BulkOperationCancellationToken settings are ignored due to the nature of Enumeration. If you need to enforce a timeout for the entire operation, you can pass a CancellationToken to GetAsyncEnumerator.

Find<TResult>(TableFindOptions<T>)

Find rows in the table.

The Find() methods return a TableFindCursor<T, TResult> object that can be used to further structure the query by adding Sort, Projection, Skip, Limit, etc. to affect the final results.

The TableFindCursor<T, TResult> object can be directly enumerated both synchronously and asynchronously.

public TableFindCursor<T, TResult> Find<TResult>(TableFindOptions<T> options = null) where TResult : class

Parameters

options TableFindOptions<T>

Returns

TableFindCursor<T, TResult>

Type Parameters

TResult

Examples

Synchronous Enumeration:

var cursor = table.Find();
foreach (var row in cursor)
{
    // Process row
}

Asynchronous Enumeration:

var results = table.Find();
await foreach (var row in results)
{
    // Process row
}

Remarks

Timeouts passed in the TableFindOptions<T> (ConnectionTimeout and RequestTimeout) will be used for each batched request to the API, however BulkOperationCancellationToken settings are ignored due to the nature of Enumeration. If you need to enforce a timeout for the entire operation, you can pass a CancellationToken to GetAsyncEnumerator.

InsertMany(List<T>, TableInsertManyOptions)

public TableInsertManyResult InsertMany(List<T> rows, TableInsertManyOptions options = null)

Parameters

rows List<T>

The list of rows to insert.

options TableInsertManyOptions

Allows specifying the insertion chunk size, ordered/unordered mode, concurrency, as well as other generic command-execution options.

Returns

TableInsertManyResult

InsertManyAsync(List<T>, TableInsertManyOptions)

Insert multiple rows into the table.

public Task<TableInsertManyResult> InsertManyAsync(List<T> rows, TableInsertManyOptions options = null)

Parameters

rows List<T>

The list of rows to insert.

options TableInsertManyOptions

Allows specifying the insertion chunk size, ordered/unordered mode, concurrency, as well as other generic command-execution options.

Returns

Task<TableInsertManyResult>

InsertOne(T, TableInsertOneOptions)

public TableInsertOneResult InsertOne(T row, TableInsertOneOptions options = null)

Parameters

row T

The row to insert.

options TableInsertOneOptions

Options for the insert operation.

Returns

TableInsertOneResult

InsertOneAsync(T, TableInsertOneOptions)

Insert a row into the table.

public Task<TableInsertOneResult> InsertOneAsync(T row, TableInsertOneOptions options = null)

Parameters

row T

The row to insert.

options TableInsertOneOptions

Options for the insert operation.

Returns

Task<TableInsertOneResult>

ListIndexNames(ListIndexNamesOptions)

public List<string> ListIndexNames(ListIndexNamesOptions options = null)

Parameters

options ListIndexNamesOptions

Returns

List<string>

ListIndexNamesAsync(ListIndexNamesOptions)

Get a list of index names for the table.

public Task<List<string>> ListIndexNamesAsync(ListIndexNamesOptions options = null)

Parameters

options ListIndexNamesOptions

Returns

Task<List<string>>

ListIndexes(ListIndexesOptions)

Synchronous version of ListIndexesAsync(ListIndexesOptions)

public List<TableIndexMetadata> ListIndexes(ListIndexesOptions options = null)

Parameters

options ListIndexesOptions

Returns

List<TableIndexMetadata>

ListIndexesAsync(ListIndexesOptions)

Get a list of indexes for the table.

public Task<List<TableIndexMetadata>> ListIndexesAsync(ListIndexesOptions options = null)

Parameters

options ListIndexesOptions

Returns

Task<List<TableIndexMetadata>>

UpdateOne(TableFilter<T>, UpdateBuilder<T>, TableUpdateOneOptions)

public void UpdateOne(TableFilter<T> filter, UpdateBuilder<T> update, TableUpdateOneOptions options = null)

Parameters

filter TableFilter<T>

The filter to match rows.

update UpdateBuilder<T>

The update operations to apply.

options TableUpdateOneOptions

Options for the update operation.

UpdateOneAsync(TableFilter<T>, UpdateBuilder<T>, TableUpdateOneOptions)

Update a single row in the table using the provided filter and update builder.

public Task UpdateOneAsync(TableFilter<T> filter, UpdateBuilder<T> update, TableUpdateOneOptions options = null)

Parameters

filter TableFilter<T>

The filter to match rows.

update UpdateBuilder<T>

The update operations to apply.

options TableUpdateOneOptions

Options for the update operation.

Returns

Task

A task representing the asynchronous operation.