Type.TableColumn

語法

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

關於

傳回資料表類型 column 中資料行 tableType 的類型。

Example

回傳客戶資料表中「Name」欄位的類型。

Usage

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

Output

type text