Type.TableColumn

Sintaxe

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

Sobre

Retorna o tipo da coluna column no tipo tableTypede tabela.

Exemplo

Retorne o tipo da coluna "Name" na tabela Clientes.

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