run_query

Runs an existing query.

Synopsis

run_query [common options] [query name]

Description

Runs a specified query in the database.

Options and arguments

query name
The name of the query to run.

Examples

Run an existing query which returns a list of all the defects assigned to or opened by the current user.

CQTOOL> query "Public Queries/My To Do List" 
id State Headline
------ --------- -----------------------------------
SAMPL00000002 Opened The foobar is broken
SAMPL00000003 Opened The widget needs repair
SAMPL00000004 Assigned The other foobar is broken
Count: 3
--------------------------------------------------------- 

Feedback