Javascript – Firestore get single element by searching with its fields
I have collections of restaurants. I want to retrieve single document.However, I don't have documentID, I only have email so I want to write a query which returns a single document when i give it an The email field is…