Answers for "merge :true is not defined in firebase"

0

merge :true is not defined in firebase

to set the merge option in set property

SetOptions(merge:true)

 dataBase.collection('user').doc(userData.displayName).set({
        'Name': userData.displayName,
        'Email': userData.email,
        'Login': userData.uid,
        'PhotoUrl': userData.photoURL,
        'LastSignIn': DateTime.now()
      }, SetOptions(merge: true));
Posted by: Guest on August-03-2021

Code answers related to "merge :true is not defined in firebase"

Browse Popular Code Answers by Language