GetAllQueriesList
Description
Returns the complete list of queries (queries, charts, reports) in the workspace.
This method returns both the public queries defined by the DevOps Plan administrator and personal queries created by individual users.
Note: For the UNIX™ system
and Linux™, the return value
for this method does not include the names of reports and charts.
Syntax
Perl
$ref_queries = $workspace->GetAllQueriesList();
- Identifier
- Description
- workspace
- The Workspace object obtained from the current session.
- Return value
- A reference to an array of strings containing the query pathnames.
Example
Perl
$MyWorkSpace = $Session->GetWorkSpace();
$MyQueriesListREF = $MyWorkSpace->GetAllQueriesList();
foreach (@$MyQueriesListREF) {
print ("Query name: $_\n");
}