SCOPE ("," SCOPE)*
"shallow" "(" STRING ")" |
"deep" "(" STRING ")" |
"this" ":" STRING
Scopes usually define the statement's execution field. There are three types of scopes, shallow, deep and inner scopes. Shallow scopes include only the direct descentants of a container, unlike deep scopes which include all the descentants of a container, traversing the folder recursively. When the scope type identifier is ommited, then the scope becomes shallow. The STRING literal must be the container ID or the full path to the container.
Inner scopes are valid only for subqueries. Using an inner scope to a top level query, raises an OQLError? exception. The STRING literal must be the name of a ReferenceN?, RelatorN? or Composition attribute.
Valid scopes are:
Page last modified on November 28, 2005, at 11:58 PM