title: Firestore function .where is not a function
body: <p>I'm trying to update data in a Cloud Firestore document, but I'm getting an error stating the .where() function isn't available on references, even though the documentation says it should be. </p>
  
  <p>Code below: </p>
  
  <pre><code>deleteJob(e){
          //in Firebase, set "active" on job to N
          /**
          * The id of the job to delete will be bound to the element that calls it here
          **/
  
          let toInactivate = e.currentTarget.attributes[0].value;
          console.log(toInactivate);
          db.collection('jobs').doc().where("job_uuid", "==", toInactivate).update({
            "active": false
          })
  
  
  } 
  </code></pre>
  
  <p>Where db is the firestore reference variable. </p>
  
  <p>Why is this not working?</p>