Share via


IPostgresDbClient.DeleteBatchAsync Method

Definition

Delete multiple entries by their key.

public System.Threading.Tasks.Task DeleteBatchAsync (string tableName, System.Collections.Generic.IEnumerable<string> keys, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteBatchAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteBatchAsync (tableName As String, keys As IEnumerable(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

tableName
String

The name assigned to a table of entries.

keys
IEnumerable<String>

The keys of the entries to delete.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

Applies to