company logo

auto locate

A property path or a path property allows locating a special instance for each collection property defined in the path by position or key. The position or key to be selected can be defined as operand for each collection property. The path Person('Miller').children(0).accounts will provide all accounts for Miller's first child. It is also possible to provide instances within a property path, which do not exist. Person['Miller'].address[0] tries to locate the person instance "Miller" and creates it, when it does not exist. Then the path tries to locate the first address instance and creates it as well, when not yet existing.