title: Firestore where query with parameter not working
body: <p>I have a query that is not working as I expect it to. I have a collection called 'games' that has a number of documents in it.
  Each document has an array called 'hiScores' that consists of the results from that round. I would like to query all games for a specific player for example:</p>
  
  <pre><code>.where('hiScores.playerName', '==', 'David Lamm')
  </code></pre>
  
  <p>This is not returning anything. I have no problems when querying a top level variable in the document. What have I done wrong? </p>
  
  <p>Database:
  <a href="https://i.stack.imgur.com/nrPFZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nrPFZ.png" alt="db"></a></p>
  
  <pre><code>db.collection('games')
    .where('hiScores.playerName', '==', 'David Lamm')
    .get()
    .then(function(querySnapshot) {
      console.log('Davids games:')
  
      querySnapshot.forEach(function(doc) {
        console.log(doc.id, " =&gt; ", doc.data());
      });
    })
    .catch(function(error) {
      console.log("Error getting documents: ", error);
    }
  );
  </code></pre>