the "FROM (<subquery>)" problem has been fixed, see issue #4523 <https://github.com/orientechnologies/orientdb/issues/4523> you can take a look on the 2.1.x branch or wait for the I assume soon to be released 2.1.3 version
On Tue, Sep 15, 2015 at 11:14 PM, Twin Tails <[email protected]> wrote: > > Trying to delete vertexes from the result of a LET statement: > > BEGIN > > LET item = SELECT out() FROM 14:0 > > LET item2 = DELETE VERTEX FROM ($item) > > COMMIT > > > Docs mention syntax as: > > DELETE VERTEX <rid>|<class>|FROM (<subquery>) [WHERE <conditions>] [LIMIT > <MaxRecords>>] [BATCH <batch-size>] > > > But the query throws an error: "Encountered " <FROM> "FROM "" > > Is this still supported in OrientDB v2.1.0 ? > > Using Studio: v2.1 > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
