Insert or replace (by actionName) an entry, returning a new array — the whole array is written back to the document (never by index). Pure.
actionName
The current entries.
The entry to upsert.
The updated entries.
Insert or replace (by
actionName) an entry, returning a new array — the whole array is written back to the document (never by index). Pure.