The WHERE and ORDER BY clauses support the following property data types and comparisons:
-
string
- Supports comparisons using =, <>, <, <=, >=, >, IN, NOT IN and LIKE.
-
Supports ordering for single-valued properties, for example:
select * from cmis:documentwhere cmis:name <> 'fred' orderby cmis:name
-
integer, double, and float
- Supports comparisons, such as =, <>, <, <=, >=, >, IN, NOT IN.
- Supports ordering for single-valued properties.
-
boolean
- Support for comparisons = and <>
- Supports ordering for single-valued properties.
-
id
- Supports cmis:objectId, cmis:baseTypeId, cmis:objectTypeId and cmis:parentId fields.
- Support for comparisons, using =, <>, IN and NOT IN.
- Ordering using a property, which is a CMIS identifier, is not supported.
-
datetime
- Supports comparisons, such as =, <>, <, <=, >=, >, IN and NOT IN.
-
Support ordering for single-valued properties, for example:
select * from cmis:documentwhere cmis:lastModificationDate = '2010-04-01T12:15:00.000Z' orderby cmis:creationDate ASC
While the CMIS URI data type is not supported, multi-valued properties and multi-valued predicates as defined in the CMIS specification are supported.
For example:select * from ext:doc where 'test' = ANY ext:multiValuedStringProperty