I have a set of documents where some of them have a child (associtaion type "ecmccontent:content_origin") and some of them don't have such child association. I need a result set of documents without such association, how to do that (in any query language)? Thank you!
Re: How to select a document whit a specific child?
I'm afraid three is no such query . you can try to add a custom property to your document and use this custom property to save the number of associations . When you update the association ,you also update this property. For documents withou association ,the property value is 0 or null. As for existing data ,you need to write code to update it one bye one.