Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2942

Ability to select relational list property in XWQL

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.7
    • 1.7 RC1
    • None
    • None
    • Unit

    Description

      Ability to run a query (list all tags):
      "select distinct obj.tags from Document doc, doc.object(XWiki.TagClass) as obj"
      Here "obj.tags" is DBStringListProperty.list (a collection), so query will be transformed to hql: "select distinct elements(obj_tags)"

      Attachments

        Activity

          People

            amelentev Artem Melentev
            amelentev Artem Melentev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: