Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19605

Add NXQL ecm:parentPath

    XMLWordPrintable

    Details

      Description

      In NXQL we can deal with ancestors using either ecm:ancestorId if we have a document id available, or ecm:path STARTSWITH if we have a document path.

      For just the immediate parent, we have ecm:parentId but there's nothing if we have a path only.

      --> Add a ecm:parentPath pseudo-property, to be able to write ... WHERE ecm:parentPath = '/my/folder' and get as a result the documents in that folder.

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: