Save document reference in another document.
Hello, I'm Oliver , building a marketplace. Do you know how to save a document reference in another document. I can't find the answer anywhere. It's a string type, and i would like it to be a reference type. Thanks for your help
1 Reply
Did you tried modifying the node according to these? 1.https://firebase.google.com/docs/reference/js/v8/firebase.firestore.DocumentReference.
2. https://cloud.google.com/firestore/docs/samples/firestore-data-reference-document-path.