Table.SingleRow

Table.SingleRow(table as table) as record

返回一行 table 中的单一行。如果 table 具有多行,则引发异常。

示例:

返回表中的单行。

使用情况:

Table.SingleRow(Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}))

输出:

[CustomerID = 1, Name = "Bob", Phone = "123-4567"]

results matching ""

    No results matching ""