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
  • 12,159
  • 9
  • 60
  • 114

0 Answers0