What is the difference between set()
and add()
in Firestore?
I use the set()
to add documents to my collection. But I am unable to use add()
or understand add()
from docs.
What is the difference between set()
and add()
in Firestore?
I use the set()
to add documents to my collection. But I am unable to use add()
or understand add()
from docs.