spring-data-cosmosdb icon indicating copy to clipboard operation
spring-data-cosmosdb copied to clipboard

Same Documents For Multiple Collections

Open amittttt opened this issue 3 years ago • 1 comments

Is this possible to use the same document for multiple collections? @Document(collection="temp")
wanted to store same document in temp, temp1, temp2 etc.

Scenario: I have one document and the same document will be inserted in the multiple collection on the basis of the condition. is there any way around to get rid of duplication of code and use the same document for inserting in multiple collection.

Tech Stack : Spring boot

amittttt avatar Mar 18 '21 06:03 amittttt

Hello amit, did you find a solution to this i am facing the same challenge.

codenics avatar Jul 20 '23 16:07 codenics