company logo

Collection operand

A collection operand defines a number of succeeding path elements as collection, which is passed to the succeeding set operation. This allows, e.g. summing up all accounts of all children of each person (Person.[children.account].GetCount()). In this case, the result is the number of children accounts for each person, while for Person.children.account.GetCount() we will get the number of all accounts of all persons.

Definition: 

coll_operand  := '[' access_path ']'

Subtopics

  1. Access path