Type.TableColumn

Składnia

Type.TableColumn(tableType as type, column as text) as type

Informacje

Zwraca typ kolumny column w typie tabeli tableType.

Przykład

Zwróć typ kolumny "Name" (Nazwa) w tabeli Customers (Klienci).

Użycie

let
    Customers = #table(
        type table [ID = Int64.Type, Name = text],
        {{1, "Contoso"}, {2, "Fabrikam"}}
    )
in
    Type.TableColumn(Value.Type(Customers), "Name")

Output

type text