CMIS search is there a way to search for all
In SQL it would be
select ID
from mvTo
where name in ('john', 'sally', 'same')
group by ID
having count(*) = 3
assume unique index on name
CMIS search is there a way to search for all
In SQL it would be
select ID
from mvTo
where name in ('john', 'sally', 'same')
group by ID
having count(*) = 3
assume unique index on name
If you have a single-value property, such as cmis:createdBy, you can write a query that matches on any value in a list, like this:
SELECT * FROM cmis:document where cmis:createdBy in ('jpotts', 'admin', 'tuser1')
If you have a multi-value property, and you want to match if any of the values match, you can use the ANY keyword, like:
SELECT * FROM cmis:document where ANY sc:someMultiValuedProp in ('val1', 'val2', 'val3')
Group by is not supported.
For more information on what you can do with CMIS queries, read the Query Language Definition section of the CMIS specification.