JDO
  1. JDO
  2. JDO-569

Update the query BNF for subquery support

    Details

      Description

      The query BNF needs to be updated for subqueries.

      1. JDOQL 2.1 BNF.mif
        412 kB
        Michael Bouschen

        Activity

        Hide
        Craig L Russell added a comment -

        The changes are included in the draft specification dated 2008-02-15.

        Show
        Craig L Russell added a comment - The changes are included in the draft specification dated 2008-02-15.
        Hide
        Michael Bouschen added a comment -

        Attached you find an updated version of the JDOQL BNF. It includes a new subsection describing subqueries:

        --------------------------------

        Subqueries

        This section describes the syntax of subqueries in JDOQL.

        Subquery:
        SubquerySelect SubqueryFrom Where(opt) Decls

        SubquerySelect:
        select SubqueryResultClause

        SubqueryResultClause:
        distinctopt Expression (,opt)

        SubqueryFrom:
        from CandidateClassName Alias(opt) ExcludeClause(opt)
        from FieldAccess Alias(opt)

        Alias:
        as(opt) Identifier

        Show
        Michael Bouschen added a comment - Attached you find an updated version of the JDOQL BNF. It includes a new subsection describing subqueries: -------------------------------- Subqueries This section describes the syntax of subqueries in JDOQL. Subquery: SubquerySelect SubqueryFrom Where(opt) Decls SubquerySelect: select SubqueryResultClause SubqueryResultClause: distinctopt Expression (,opt) SubqueryFrom: from CandidateClassName Alias(opt) ExcludeClause(opt) from FieldAccess Alias(opt) Alias: as(opt) Identifier

          People

          • Assignee:
            Michael Bouschen
            Reporter:
            Craig L Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development