Type.TableColumn

Syntax

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

O

Vráti typ stĺpca column v type tabuľky tableType.

Príklad

Vráťte typ stĺpca Name v tabuľke Customers.

Spotreba

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

Výstup

type text