wiki:SemanticQuery/RecordEntity

Version 1 (modified by manualwiki, 12 years ago) (diff)

--

Record entity

Records are represented with record entities, which provide access to record information.

Initial selector

  • @rec to start a query on the currently selected record, use this selector.

Selectors

After the name of the selector between parentheses you can find the type of the elements in the resulted set.

  • refs (expression): returns the set of expression entities that refer to the record either by field access, record update or field index.
  • fields (field): returns the list of fields of a particular record.
  • file (file): returns the file entity that the record is defined in.

Properties

There is only one record property:

  • name (atom, string): gives the record's name.