arcadedb icon indicating copy to clipboard operation
arcadedb copied to clipboard

SQL: JSON Array support for UPDATE

Open gramian opened this issue 2 years ago • 1 comments

Currently INSERT and CREATE VERTEX support an array of JSON documents as CONTENT. It would be useful to have UPDATE also support arrays of JSON documents, so one could do:

CREATE DOCUMENT TYPE doc;
UPDATE doc CONTENT [{"name":"tim"},{"name":"tom"},{"name":"jim"}] UPSERT

gramian avatar Nov 10 '23 11:11 gramian

UPSERT

Yes please!

tolgaulas avatar Nov 10 '23 12:11 tolgaulas