webCOMAND

cQuery (COMAND Query)

Overview

cQuery will be introduced in version 4.  It is identical to cPath, except paths can also resolve to data type field values (not just objects and collections), and methods can be called and chained within the expression.

For 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()