SHORT GUIDE TO FIRESTORE REFERENCE DATA TYPE

CLOUD FIRESTORE
HOMEPAGE OF FLOORS
DETAILPAGE OF FLOORS
db.collection("rooms").where('floor','==',docRef).get().then(
//GET THOSE DOCUMENTS)
GETTING DATA FROM REFERENCE FIELD
room.f=res.data();
//ON LINE 4 OF 'GETTING DATA FROM REFERENCE FIELD' IMAGE
//USE ANY NAME EXCEPT THE NAME ALREADY DEFINED

Interested in frontend developement & UI design

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store