Type.TableColumn

Syntaxe

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

Asi

Vrátí typ sloupce column v tableTypetypu tabulky .

Příklad

Vrátí typ sloupce Name (Název) v tabulce Customers (Zákazníci).

Využití

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

Output

type text