Record.SelectFields
Syntax
Record.SelectFields(record as record, fields as any, optional missingField as nullable number) as record
Informácie
Vráti záznam, ktorý obsahuje iba polia zadané v zozname fields
zo vstupu record
.
Príklad č. 1
Vyberte v zázname polia Item a Price.
Použitie
Record.SelectFields(
[OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0],
{"Item", "Price"}
)
Výkon
[Item = "Fishing rod", Price = 100]