It's possible to simply filter retrieved Documents by using:
$dm->findBy(array('field' => 'value'))
But I need something a bit more suited to Content Repository specifics. So, is there a way to retrieve Documents (e.g. equivalent to "SELECT ... WHERE ..."), filtered by:
- an array element (e.g. by first element of a field having multiple values: something like arrayFields[0])
- path node, e.g. I want to get only children (but not using getChildren() method of a Document) under given path, e.g. /cms/routes/categories - this should return only Documents having '/cms/routes/categories' at the beginning of their path (or Id field)
?