Saving Data on Android


compound sorting and filtering



Download 19,28 Mb.
Pdf ko'rish
bet251/292
Sana24.01.2022
Hajmi19,28 Mb.
#407089
1   ...   247   248   249   250   251   252   253   254   ...   292
Bog'liq
Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019

compound sorting and filtering
. Additionally, in the Realtime 
Database, you cannot sort and filter the data in the same query, and when you query 
the data, the result is the whole subtree. Firestore allows all kinds of query chaining 
that NoSQL databases allow, and instead of querying entire collections or a 
document, you can query subcollections within a document. Furthermore, in the 
Realtime Database, you need to perform write operations in a single query; in the 
Firestore, you can collect all of your data and write it as a batch operation. This 
means that one large job is executed in small parts to improve efficiency.
Firestore has a lot of advanced features too. Both the Realtime Database and the 
Firestore offer offline support; however, the Realtime Database offers it only for the 
mobile clients, while the Firestore offers it for 
web apps
 as well.
In the Realtime Database, you need callbacks for transactions. In the Firestore, you 
don’t. Transactions are completed automatically until all of them are finished.
Scalability in the Realtime database isn’t that big of a problem, but when the data 
exceeds the limits you learned about in Chapter 15, “Usage and performance”, you 
needed to shred your data across multiple database instances. In the Firestore, you 
won’t need to do that regardless of how big your database will be — the 

Download 19,28 Mb.

Do'stlaringiz bilan baham:
1   ...   247   248   249   250   251   252   253   254   ...   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