title: How to delete specific map field in an array?
body: <p>I created an firestore collection with users, and in this one I save favourites for an favourite list by an array, and the favourites get created as map fields of this array, and I want to know how I can remove an specific favourite (map field) of my array?</p>
  
  <p>That is my function to add favourites to my array.</p>
  
  <pre><code>addFav(name, performer, category, room, abstract, begin, dis, color, btn, id`){
  try{
    this.afs.doc(`users/${this.user.getUID()}`).update({
  favs: firestore.FieldValue.arrayUnion({
    name,
    performer,
    category,
    room,
    abstract, 
    begin, 
    dis,
    color,
    btn
  })
    })
  }
  </code></pre>
  
  <p>I need help to delete an specific favourite / map field of my array</p>
  
  <pre><code>deleteFav()
  {
    try{
  this.afs.doc(`users/${this.user.getUID()}`).update({
    favs: firestore.FieldValue.delete()
  })
    }
  }
  </code></pre>
  
  <p>following pictures shows my firestore collections with the array and the map fields.</p>
  
  <p><a href="https://i.stack.imgur.com/1Y1Xj.png" rel="nofollow noreferrer">https://i.stack.imgur.com/1Y1Xj.png</a></p>