04-13-2014 08:38 PM
I have a custom doc model with a list attribute containing IDs to other objects, thus representing a list of links.
I'd like to query objects that have no values on this attribute, something like:
SELECT * FROM Document WHERE dc:subjects = NULL
Is it possible? I've not found anything like this in the official NXQL doc.
Thanks.
04-13-2014 09:11 PM
04-13-2014 09:11 PM
This should work:
SELECT * FROM Document WHERE dc:subjects/0 IS NULL
04-14-2014 04:28 AM
Thanks! It works perfectly (run on Nuxeo 5.8).
04-14-2014 06:59 AM
As you can see the semantics are slightly different from what you're asking, but I think this is the best we can do. Also `dc
04-14-2014 07:42 AM
Indeed.. not obvious to figure it out by yourself. Still, as long as it does the job it's just as good. Thanks again.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.