Share via


IPostgresDbClient.DoesTableExistsAsync(String, CancellationToken) Method

Definition

Check if a table exists.

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

Parameters

tableName
String

The name assigned to a table of entries.

cancellationToken
CancellationToken

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

Returns

Applies to