In this video you can see that how to create collections and inside that collections how to create subcollections inside that collection using flutter in firestore
FirebaseFirestore.instance .collection('users') .get() .then((QuerySnapshot querySnapshot) { querySnapshot.docs.forEach((doc) { FirebaseFirestore.instance .document(doc.id) .collection("jobPost") .get() .then(...); }); }); You have to fetch subCollections of that user. In the given code we have all the users with "jobposts" subCollections.
@@muhammadadnanijaz7340 Hi, Thanks for reply. But i am not really understand the code provider. For the code provided how can i put the >>>> final FirebaseAuth _auth = FirebaseAuth.instance; var currentUser = _auth.currentUser; to verify the same user email added favourite >>>> to ***doc(doc.id)***.collection("jobPost") since doc(doc.id) cant be replace and what should i put for then(what should i put?)? a jobPost class?
@Cute status FirebaseFirestore.instance .collection('users') .get() .then((QuerySnapshot querySnapshot) { querySnapshot.docs.forEach((doc) { FirebaseFirestore.instance .document(doc.id) .collection("jobPost") .get() .then(...); }); }); You have to fetch subCollections of that user. In the given code we have all the users with "jobposts" subCollections.
Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0. W/DynamiteModule(24040): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. I/DynamiteModule(24040): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0 Help me sir?
your efforts appreciated for recording while sleeping
😀😀😀 sorry i am not professional in creating videos
great video, thanks!!!!!
Awesome video! Thank you so much!
Subscribe for more content
great video!! could you explain how to filter data from sub collections using collectionGroup?
do you have more videos about this ?
Nope. Sorry i don't have
Hi, May I know how can i retreive the user added favourite data with auth from the subcollection document?
FirebaseFirestore.instance .collection('users') .get() .then((QuerySnapshot querySnapshot) { querySnapshot.docs.forEach((doc) { FirebaseFirestore.instance .document(doc.id) .collection("jobPost") .get() .then(...); }); });
You have to fetch subCollections of that user. In the given code we have all the users with "jobposts" subCollections.
@@muhammadadnanijaz7340 Hi, Thanks for reply. But i am not really understand the code provider.
For the code provided how can i put the >>>>
final FirebaseAuth _auth = FirebaseAuth.instance;
var currentUser = _auth.currentUser;
to verify the same user email added favourite
>>>> to ***doc(doc.id)***.collection("jobPost") since doc(doc.id) cant be replace
and what should i put for then(what should i put?)? a jobPost class?
@@muhammadadnanijaz7340 this looks extremely convoluted. Isn’t there a better way?
how can i display collection(USA )all data
If you wanted to show all data you have to use multiple stream builders like stream builder within stream builder
audio so low, even at 100%
hello dear .how to upload data to subcollections ?
Kindly watch the video carefully i have added data to subCollections
@Cute status
FirebaseFirestore.instance .collection('users') .get() .then((QuerySnapshot querySnapshot) { querySnapshot.docs.forEach((doc) { FirebaseFirestore.instance .document(doc.id) .collection("jobPost") .get() .then(...); }); });
You have to fetch subCollections of that user. In the given code we have all the users with "jobposts" subCollections.
Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
W/DynamiteModule(24040): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule(24040): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
Help me sir?