Replies: 2 comments 1 reply
-
I think this is a topic for the Repo module? Could you provide an example? |
Beta Was this translation helpful? Give feedback.
-
It could be a nice extension, but it uses some kind of
This approach assumes that the data structure has a concept of id. But it is not clear, that the second parameter is the value of an attribute named I think the example is not correct: instead of
the document should look like:
? Someone would use "_id" or "uuid" as the identifier. Maybe the API can look like this:
The function will use the
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I wrote a utility for upserts of objects in nested arrays. Is this something you'd be interested in incorporating into the library? If so, I'd be happy to contribute it!
Beta Was this translation helpful? Give feedback.
All reactions