wiki:SemanticQuery/RecordFieldEntity

Version 3 (modified by manualwiki, 10 years ago) (diff)

mostly sq-type related changes

Record field entity

The record field entity provides access to the field-specific information of each record.

Initial selector

  • @recfield: record field related queries can be started with this selector to get the current record field.

Selectors

In parentheses you find the type of the result elements.

  • refs (expression): returns every expression that refers to the given field either by field access, index, or record update.
  • record (record): returns the record which has the particular field.
  • type (type): The type or type expression of the given record field.

Properties

Record fields also have only one property:

  • name (atom): returns the name of the field.