Syntax
Table.SingleRow(table as table) as record
About
返回一行中的单行 table。
table如果有多个行,则会引发错误。
示例
返回表中的单个行。
用法
Table.SingleRow(Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}))
输出
[CustomerID = 1, Name = "Bob", Phone = "123-4567"]