title: Swift - Pass multiple arguments in whereField clause to retrieve from firebase
body: <p>I am new to swift and trying to do some basic operations.
   My scenarios here is, i am trying to fetch data from firebase by passing arguments as a search criteria. For example i am looking for a blood donors in my database filtered out by blood group and city, i need to pass two arguments as my search criteria. But in a whereField method i can only pass one argument. Is there a way or another method that i can use to pass multiple arguments?</p>
  
  <p>below is the code that i have till now</p>
  
  <pre><code>@IBAction func fetchDataButtonTapped(_ sender: Any) {
      let db = Firestore.firestore()
  
      db.collection("users").whereField("bloodgroup", isEqualTo: "A-").getDocuments { (snapshot, error) in
          if error == nil &amp;&amp; snapshot != nil {
  
              self.resultArray.removeAll()
              for document in snapshot!.documents {
                  let dict = document.data()
                  let x = dict["firstname"] as? String
  
                  self.resultArray.append(x!)
                      self.myTableView.dataSource = self
  
                      self.myTableView.reloadData()
  
  
  
              }
          }
      }
  
  }
  </code></pre>