1

When should I use update() over set()? With set() and merge : true, I can do exact the same thing as update() and it is guaranteed it will not fail, while update() will fail if the document does not exist.

J. Doe
  • 11,360
  • 7
  • 50
  • 91

0 Answers0