pitcairn1987Original post
Rank 2: Process
Hi. Let's say I have two collections Orders and OrderDetails. How can I insert new document only to OrderDetails (for example with attributes: ProductId and Quantity) with provided OrderId key?
I created relationship and it works fine to get documents but I don't know how I can insert new record
Summary
The user wants to know how to insert a new document into the OrderDetails collection while having a relationship with the Orders collection using the OrderId key. They have already created the relationship successfully for retrieving documents. The solution is not provided in the thread.