webCOMAND

cQuery

cQuery combines cPath and cQL into a single query language where all cQL clauses are contained in curly brackets.

Example

/Images//[:Image AND Width>640]{SELECT OID, Title ORDER BY Width}

cPath Values & Methods

In the future, cQuery's cPath features will be extended to:

  • resolve data type field values (not just objects and collections)
  • call and chain object methods within the expression
These features will not be available until after webCOMAND v3.0.

Example

The following cQuery will resize all images in the Images folder greater than 640 pixels wide to 640 pixels wide, and then save them back to the repository.

/Images//[:Image AND Width>640].Resize(640,0).save()