Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18494f7 commit 228c533Copy full SHA for 228c533
firestore/cloud-client/requirements.txt
@@ -1 +1 @@
1
-google-cloud-firestore==0.29.0
+google-cloud-firestore==0.30.0
firestore/cloud-client/snippets.py
@@ -303,9 +303,9 @@ def update_create_if_missing():
303
# [START update_create_if_missing]
304
city_ref = db.collection(u'cities').document(u'BJ')
305
306
- city_ref.update({
+ city_ref.set({
307
u'capital': True
308
- }, firestore.CreateIfMissingOption(True))
+ }, merge=True)
309
# [END update_create_if_missing]
310
311
0 commit comments