Update data in cloud firestore:{merge:true} in set() operation
So I faced an issue where every time I upload a data set, If the some or all of the documents that I upload already exist in my collection then instead of overwriting It just created new documents so there was redundancy…