You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a collection where the root is the UserID, and then I have a Sub-Collection of 'businesscards'. I am trying to insert new docs to this subcollection.
This code creates new documents on each insert with new DocId's at the UserID level with the Collection Name just called 'businesscards' for each new DocId that got create. How would I insert the new docs into the collection called 'businesscards'? I don't have the Document ID for the 'businesscards' subcollection.
var x =
await CrossCloudFirestore.Current.Instance
.Collection(userId)
.Document()
.Collection('businesscards')
.AddAsync(doc);
The text was updated successfully, but these errors were encountered:
I have a collection where the root is the UserID, and then I have a Sub-Collection of 'businesscards'. I am trying to insert new docs to this subcollection.
This code creates new documents on each insert with new DocId's at the UserID level with the Collection Name just called 'businesscards' for each new DocId that got create. How would I insert the new docs into the collection called 'businesscards'? I don't have the Document ID for the 'businesscards' subcollection.
The text was updated successfully, but these errors were encountered: