I have two collections (Student, Instructor) in Firestore, and each collection has documents with Auto-ID. I want to specify two buttons (Log in as Student, log in as Instructor) with the database, which means if you are a student and your information is in a collection, you only can log in as Student but you can't log in as Instructor, and the same for the Instructor.
How can I access collections and documents in Firestore?
This is not an Apple product & I recommend you ask any Google related API questions over at google here in one of their discussion options: https://firebase.google.com/community