I want to see the posts made by all users. so i want to get all data regardless of user id
function storePostData(){
firebase.firestore().collection('Post')
.doc(userId)
.collection('userPost').get()
.then((querySnapshot)=>{
querySnapshot.forEach(snapshot=>{
let data = snapshot.data();
})
})
}

This data structure
---Post -----userId -----userPost -------randomName(Post data)