Understanding Firestore queries - Firebase v9

preview_player
Показать описание
#firebase #javascript #database

In this video you will learn all everything you need to know about Firestore queries

0:00 | Intro
0:55 | Setting up firestore and reading all documents
4:08 | Query function (where, limit, orderBy)
5:20 | Combined queries and Indexes
8:58 | Query multiple sub collections (collectionGroup)
12:41 | Does querying for a 1000 documents but returning only 1, count as 1 or 1000 document reads?
Рекомендации по теме
Комментарии
Автор

Just brilliant!! Just don't have enough stuff to subscribe to yet ... keep up the good work!

htmlfivedev
Автор

your explanation is on another level bro. I appreciate it .

tanny
Автор

Hello, nice introductory video!
I have one question, how do subcollection ids work? is it possible to have '/users/andrea/projects/1' and '/users/andrew/projects/1' ? or do subcollections need to have distinct ids even between the users?

the_real_vdegenne
Автор

please tell me fr, does it really count as ONE DOCUMENT READ, what are the sources, bc this might have just saved my project, please let me know ASAP
Thanks :)

unityUser