Hey guys, so right now, I have a collection called rental items (Contains the item's general Info) and a subcollection called photos. The goal is that when a user creates a rental item, a document gets created for the rental items collection and the photo's subcollection. How do I do it? Especially since I don't have access to the rental Item ID yet?
How do I create a document to a subcollection?
Database & APIs
I've tried making the form into seperate pages, so I could pass the created document to the next page, but I'm still lost
Yes
7 replies