Record.Combine

Syntax

Record.Combine(records as list) as record

About

合并给定 records中的记录。 records如果包含非记录值,则返回错误。

示例 1

从记录创建合并的记录。

用法

Record.Combine({
    [CustomerID = 1, Name = "Bob"],
    [Phone = "123-4567"]
})

输出

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