Type.TableColumn

Sintaxis

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

Acerca de

Devuelve el tipo de la columna column en el tipo de tabla tableType.

Example

Devuelve el tipo de la columna "Name" de la tabla Customers.

Uso

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

Output

type text