Merging documents using RedisJSON


Wondering if RedisJSON provides an interface to merge two JSON documents, or does it need to be applied by the client/application?

I don’t think there is a native command to merge 2 docs:

@harry RedisJSON doesn’t have such functionality but it sounds very interesting.
Can you please describe your use case?

My use case is more for merging two or more json document, especially if you are storing inter-related documents in redisjson. Instead of fetching/joining multiple docs in the applications it would help reduce complexity in the applications greatly.

I understand this can probably be done via lua scripting (using cjson library), but wondering if there is a native or better way.