Record.SelectFields
Syntax
Record.SelectFields(record as record, fields as any, optional missingField as nullable number) as record
About
Returns a record which includes only the fields specified in list fields
from the input record
.
Example 1
Select the fields "Item" and "Price" in the record.
Usage
Record.SelectFields(
[OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0],
{"Item", "Price"}
)
Output
[Item = "Fishing rod", Price = 100]
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho