Saving Data on Android



Download 19,28 Mb.
Pdf ko'rish
bet260/292
Sana24.01.2022
Hajmi19,28 Mb.
#407089
1   ...   256   257   258   259   260   261   262   263   ...   292
Bog'liq
Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019

batched write
. Batched write allows you 
to perform a bunch of writes all at once, in other words, in a batch. It works in a way 
that you specify what you want to change and tell the SDK to change it. You don't 
have to worry about what happens if the operation fails halfway through. None of 
the changes will be applied in that case. Also, another user won't be able to change 
that same data that you are currently changing because those write operations are 
atomic
 which means that the operation is guaranteed to be isolated from other 
operations that may be happening at the same time. Batch operation is also much 
more efficient than doing many individual write operations. A good use case for 
batch write is when you want to change many related documents and your new value 
does not depend on the old value.
To learn more about transactions and batched writes check out the official 
documentation: 
https://firebase.google.com/docs/firestore/manage-data/
transactions
.
Saving Data on Android
Chapter 17: Managing Data with Cloud Firestore
raywenderlich.com
255



Download 19,28 Mb.

Do'stlaringiz bilan baham:
1   ...   256   257   258   259   260   261   262   263   ...   292




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish