Ios swift – how to return a document containing a collection if the collection contains a document with user id
I have a posts collection in Firebase which contains all the posts people make on my app and each document has its own "post-saves" and "post-likes" collection. when a user saves a post it adds their user ID to the…