통사론
Record.RemoveFields(
record as record,
fields as any,
optional missingField as nullable number
) as record
소개
목록 fields에서 지정된 모든 필드를 제거한 레코드를 입력 record로부터 반환합니다. 지정된 필드가 존재하지 않으면 예외가 발생합니다.
예제 1
레코드에서 "Price" 필드를 제거합니다.
사용량
Record.RemoveFields([CustomerID = 1, Item = "Fishing rod", Price = 18.00], "Price")
출력
[CustomerID = 1, Item = "Fishing rod"]
예제 2
레코드에서 "Price" 및 "Item" 필드를 제거합니다.
사용량
Record.RemoveFields([CustomerID = 1, Item = "Fishing rod", Price = 18.00], {"Price", "Item"})
출력
[CustomerID = 1]