Relationships

In Euno, the data model is made up of resources, each identified with a Universal Resource Identifier. Between these resources there are relationships.

There are two types of relationships in Euno's object model: containment and dependency.

Dependency

A resource can depend on other resources. For example, when Euno observes a database view that is defined by joining together three database tables, Euno establishes three relationships of type dependency , each ending at each of the tables, all originating from the view.

When two resources, A and B, have a dependency relationship between them, such that A depends on B, we say that A is downstream of B, and that B is upstream of A.

A resource can have zero, one or many dependencies. In technical terms, this is a many-to-many relationship.

Containment

A resource can be contained in another resource. For example, a column is contained in a table, and a table is contained in some schema.

When two resources, A and B, have a containment relationships between them, such that A contains B, we say that A is the parent of B, and that B is a child of A.

A resource can have zero, one, or many children, and zero or one parents. In technical terms, this is an optional many-to-one relationship.

Last updated