spring-data-cosmosdb
spring-data-cosmosdb copied to clipboard
Same Documents For Multiple Collections
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
Hello amit, did you find a solution to this i am facing the same challenge.