phpcr / phpcr-shell

PHPCR Shell
MIT License
69 stars 19 forks source link

[query/update] Support setting properties to dynamic values #106

Open dantleech opened 10 years ago

dantleech commented 10 years ago

e.g.

UPDATE [nt:foo] AS a SET a.foo = a.bar
UPDATE [nt:foo] AS a JOIN [nt:bar] AS b ON a.foo = b.bar SET a.foo = b.baz

This is something that could also easily be implemented with functions .. but it would make sense to support this in standard SQL notation.

dbu commented 10 years ago

you really are expanding sql2 to full sql power :-) seems the expected thing, yes.