Using setData with merge: true in the new FlutterFire API

后端 未结 1 1992
情话喂你
情话喂你 2021-01-22 09:37

I am updating my old flutter code with the new FlutterFire API. I use a setData with merge: true in one of my functions to update some document fields

相关标签:
1条回答
  • 2021-01-22 10:19

    You have to do the following:

    set({"name" : "akbarB"}, SetOptions(merge : true))
    
    0 讨论(0)
提交回复
热议问题