Rank 1: Thread
hello ! i guess this is not currently possible ?
for example to just database.updateDocument with {comments: ['newid']} will overwrite comments with only newid and remove the existing relation. is there a way to just push a new one ? Comments is a one to many (one parent, multiple comments).
currently the only way i found it to before get the whole document, extract a list of $id from the comments, and include them in the updateDocument ? this require to get the whole document beforehand.
thanks !