Closed
Description
when copy-pasting a query like this:
UPDATE [nt:unstructured] AS a INNER JOIN [nt:unstructured] AS t ON ISCHILDNODE(t, a)
SET expr('row.getNode("t").setProperty("originalLinkCaption", row.getNode("a").getPropertyValue("originalLinkCaption"))')
WHERE a.[phpcr:class] = 'Liipch\MagazineBundle\Document\Article' ;
it gets already executed after the first row. if i had UPDATE and SET on the same line (and working) but not the WHERE, this could lead to data destruction.
i propose that as with mysql/postgres clients, we only evaluate the query after seeing ;
Metadata
Metadata
Assignees
Labels
No labels