Partager via


IPostgresDbClient.CreateTableAsync(String, CancellationToken) Method

Definition

Create a table.

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

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