Replies: 2 comments 1 reply
|
I think this is a topic for the Repo module? Could you provide an example? |
1 reply
|
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 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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!
All reactions