Share via


IPostgresDbClient.DeleteAsync(String, String, CancellationToken) Method

Definition

Delete a entry by its key.

public System.Threading.Tasks.Task DeleteAsync (string tableName, string key, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteAsync (tableName As String, key As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

tableName
String

The name assigned to a table of entries.

key
String

The key of the entry to delete.

cancellationToken
CancellationToken

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

Returns

Applies to