Changes between Version 4 and Version 8 of Ticket #1759


Ignore:
Timestamp:
Jun 11, 2018, 12:07:15 PM (6 years ago)
Author:
bbell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1759

    • Property Priority majorcritical
    • Property Milestone 9.69.7
  • Ticket #1759 – Description

    v4 v8  
    77What's missing in the syntax is support for specifying multiple collections, e.g.
    88{{{
    9 UPDATE A, B SET A[..]
     9UPDATE A SET A[..]
    1010ASSIGN B
    11 WHERE oid(B) = ..
     11FROM B
    1212}}}
     13
     14Formally speaking, the solution should take the current "UPDATE" options and extend them using a "FROM" clause. This can be achieved by introducing syntax for the following grammar constructions:
     15
     16Added UPDATE grammar:
     17{{{
     18updateExp : update iteratedCollection set updateSpec
     19assign generalExp
     20where generalExp
     21from collectionList
     22}}}
     23
     24and
     25
     26{{{
     27update iteratedCollection set updateSpec
     28assign generalExp
     29from collectionList
     30}}}
     31