Tuple

LiveView. Tuple

new Tuple(id, fieldMap)

Parameters:
Name Type Description
id Number The tuple's unique ID
fieldMap Object Map of fieldName -> fieldValue

Members

fieldMap :Object

Map of fieldName -> fieldValue for all fields in the tuple. Note that the order of fields in the map will not necessarily correspond to the order of fields in the corresponding schema. One should refer to the fields array of the corresponding schema to obtain the correct ordering of fields.
Type:
  • Object

id :Number

The tuple's unique ID
Type:
  • Number