Check if a field exists - search through Firestore database
问题 I am doing a project for school - android app which registers users to realtime database after it checks if there's a corresponding card number and phone number in a different database in Firestore. At the moment it verifies only the first document, but it wouldn't find the fields if I search for them in other documents. This is the method I use: public void checkIfCardExists() { Query query = cardInfo.whereEqualTo("CardNo", cardNumber) .whereEqualTo("Phone", userPhone); query.get()