IPostgresDbClient.DeleteBatchAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.