[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cmis] discovering containment relationships in queries
There's two ways of doing it:
1. leverage the repository specific relationship (or parentId property if single) if available (e.g., rep-specific)
2. do two queries:
SELECT ObjectId FROM folder WHERE important = true
SELECT * FROM document WHERE IN_FOLDER(id1) OR IN_FOLDER(id2) ... (or bunch of getChildren calls)
What are the use cases where filtering the folders are required and then getting contained documents in 1 operation is necessary?
-Al
Al Brown
Emerging Standards and Industry Frameworks
CMIS: https://w3.tap.ibm.com/w3ki07/display/ECMCMIS/Home
Industry Frameworks: https://w3.tap.ibm.com/w3ki07/display/ECMIF/Home
Office 714 327 3453
Mobile 714 263 6441
Email albertcbrown@us.ibm.com
CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation.
Florent Guillaume ---07/01/2009 03:12:28 AM---Hi,
From: | Florent Guillaume <fg@nuxeo.com> |
To: | CMIS List <cmis@lists.oasis-open.org> |
Date: | 07/01/2009 03:12 AM |
Subject: | [cmis] discovering containment relationships in queries |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]