Answers for "how to edited the firestore from front-end"

0

how to edited the firestore from front-end

const b = document.createElement('button');b.textContent = '+100';b.onclick = () => updatePopulation(city.name, city.pop + 100);p.appendChild(b);
Posted by: Guest on June-24-2020
0

how to edited the firestore from front-end

const updatePopulation = (city, pop) => {  cities.doc(city).update({    pop: pop  })}
Posted by: Guest on June-24-2020

Code answers related to "how to edited the firestore from front-end"

Browse Popular Code Answers by Language