Queries using attribute value clauses

A query clause based on an attribute value finds all object versions with or without matching attributes.

The syntax for this type of clause consists of the attribute name (attr_name), a relative operator (relative_operator), and the value of the attribute (constant):

"attr_name relative_operatorconstant’"

Example

  • Find all object versions with a status of working.

    > ccm query "status=’working’"

    Here is the built-in shortcut for this command:

    > ccm query /s working

  • Find and show all object versions with version 2.

    > ccm query "version=’2’"

    Here is the built-in shortcut for this command:

    > ccm query -v 2


Feedback