Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Query resources
Topic Summary: Comprehensive lists of query functions, attributes, cvtype, etc.
Created On: 16-Jun-2005 17:25
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 16-Jun-2005 17:25
User is offline View Users Profile Print this message


Harold Vanderpool

Posts: 8
Joined: 23-Jun-2004

Where can I find comprehensive listings of all possible elements for queries. The KB often refers to query functions like "is_task_in..." that are not in my documentation(v6.3 SP1). Additionally, it would be very useful to see a complete list of object types and attributes for each type. I am interested in building some queries of tasks in baselines and I'm not finding any examples or documentation. Thanks.
Report this to a Moderator Report this to a Moderator
 24-Jun-2005 19:56
User is offline View Users Profile Print this message


Stefan Oblinger

Posts: 5
Joined: 31-Jul-2004

The documentation of the "ccm query" command provides basic information and some examples:

Types of Queries
Query Clause Elements
Sample Queries

Objects may be selected not only by their attributes but also by their relationships (query functions is__of and has_:
The documentation of the "relate" command contains an (incomplete) list of predefined relationships:
Maintain Relationships

KB Article TB140 provides many examples, especially for time based queries:
Examples of ‘ccm query’ Syntax

The following command generates a list of all object types and their predefined attributes:
ccm query -t cvtype -i base -u -f %name | perl -lne 's/ *$//;print("\nattributes of $_\n");system("ccm attr -la $_-1:cvtype:base")'
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.