Home   :   Matrix Language   :   Primitive Action Statements   :   Relate Statements

Relate Statements

 

Statements

 

    Relate

    Unrelate

 

 

Overview

 

When an object is related to one or more other objects through a relationship, the relationship becomes navigable with a Traverse statement.

 

 

Relate Statement

 

    Relate

        Account : Owned_by : Customer

 

The Relate statement implements a defined relationship by linking one object to another.

 

No duplicate relationships are allowed.  This means that it is an error if an object is already related to another and an attempt is made to relate them again.  This error may be detected at run-time.

 

 

Unrelate Statement

 

    Unrelate

        Account : Owned_by : Customer

 

This statement breaks the relationship link between two objects.

 

Two objects must be related before they can be unrelated.  This error may be detected at run-time.

Copyright © 2017 Dark Matter Systems Ltd. All Rights Reserved.