Record.Field(record as record, field as text) as any
返回 record 中指定 field 的值。如果未找到该字段,将引发异常。
record
field
在记录中查找字段 "CustomerID" 的值。
Record.Field([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "CustomerID")
1