The query path starts with the root element (module), continues with its child element (Object), with the object's child attribute, and so on (for example, Module.Object.Attribute.Name).
Although you typically drag and drop schema elements instead of manually writing queries, it is useful to understand the concepts of schema and queries, and how they are constructed.
Query | Description |
---|---|
module | Returns a single result, the source module. |
module.object | Returns all the objects in the source module, as filtered or sorted by a data source view. |
module.object.attribute | If used in a module.object context returns all the attributes for the current object. If not used in this context, returns all objects in the source module. |
Element 1: module.object Element 1.1 (child of Element 1): module.object.attribute
In Element 1, only the attributes of IBM® Rational® DOORS® objects can be used. In Element 1.1, the attributes of Rational DOORS object attributes can be used (that is, the names of those object attributes). The second query yields a list of attributes for the current object returned by the query of Element 1.