No video

Collection Group Queries in Firestore

  Рет қаралды 88,178

Fireship

Fireship

Күн бұрын

Пікірлер: 68
@ravijain1024
@ravijain1024 5 жыл бұрын
Again.. a powerful feature explained in simplest of words. Hours of research put together in minutes of video. You are the best Jeff !!
@bohidorshon
@bohidorshon 5 жыл бұрын
This is what i was looking for last 30 days Thanks a lot
@nicolapigozzo5188
@nicolapigozzo5188 5 жыл бұрын
Please more videos about collection group queries
@JayPerf
@JayPerf 5 жыл бұрын
I wish I could upvote this a million times. I hope that this channel makes you a zillionaire dude you deserve it
@jeremywhiteley
@jeremywhiteley 5 жыл бұрын
This was helpful. What about the Firestore rules that goes with them. Can you do a course on Firestore rules? This needed. Especially advanced rules.
@uCodes880
@uCodes880 5 ай бұрын
Exactly what i needed, like its 100% exact case I'm facing Thanks for the overpowered video 🎉❤
@someshsahu4638
@someshsahu4638 2 жыл бұрын
Very nice and helpful video thankyou so much 🙏🏼 🙏🏼🙏🏼
@TimeoutMegagameplays
@TimeoutMegagameplays 5 жыл бұрын
This is amazing, yet another feature I was anxiously waiting to use.
@rebarius
@rebarius Жыл бұрын
The collectionGroup has to be handled with care! It can create an excessive amount of reads in firestore and that leads to a bunch of bucks burned 😀
@StephenMoreira
@StephenMoreira 5 жыл бұрын
Clicked on video, immediately liked, was not disappointed.
@kevinrutledge9602
@kevinrutledge9602 5 жыл бұрын
Using collectionGroup Queries for nested commenting has been great. However, if I allow users to delete a comment the abandoned subcollections remain even as the document is deleted. Have you done any kind of cloud function so that when a document is deleted, it checks lower level collections and removes them recursively?
@patrickmullot73
@patrickmullot73 5 жыл бұрын
Super cool new feature! But now, you have to review your data modeling course :-p
@Fireship
@Fireship 5 жыл бұрын
Already added a new section 😁
@01041112281scv
@01041112281scv 3 жыл бұрын
I really thanksful your video. I didn't know make all collection in same name! It's really good solution thanks
@KhainiSader
@KhainiSader 5 жыл бұрын
Does this only work for 1 document who has bunch of nested collections(like u showed end of the video of your backend)? Or can we also query every posts(document)'s collection called "comments" and their nested comments with 1 command?. That would be crazy....Great video
@Flucadetena
@Flucadetena 5 жыл бұрын
Awesome video as always Jeff!! It would be very cool if you could do a full course on firebase Rules.
@manualchnn
@manualchnn 5 жыл бұрын
Thanks and very helpful. I would suggest to do more videos on firebase analytics and AB testing etc.
@Fireship
@Fireship 5 жыл бұрын
I will do that soon, specifically for iOS/Android. It unlocks some of the best features in Firebase
@manualchnn
@manualchnn 5 жыл бұрын
@@Fireship Yeah it will be very helpful
@Cdswjp
@Cdswjp 4 жыл бұрын
Fireship 👍🏼
@zaka7024
@zaka7024 5 жыл бұрын
2 videos in one week, very nice. 😍😍😍
@silviofiordelisa1424
@silviofiordelisa1424 4 жыл бұрын
THANKS JEFF!!!! This tutorial is great!
@lukecross5439
@lukecross5439 3 жыл бұрын
I have an ask: When I do this nested consultation, am I charged for all readings being taken? For example, you asked to consult the comments, but did not initially say where, soon, he will look in the posts collection and in the others, if you know it is in the post collection, I will still be charged for the other collections even if I don't want to include them searching for a collection by group?
@lukecross5439
@lukecross5439 3 жыл бұрын
Example, I know it is in the posts collection, so it is not necessary to search the collection for quizzes, reports and topics, but he will search them, will firebase charge me for searching these collections?
@wpbest
@wpbest 5 жыл бұрын
Collection Group Queries are awsome
@Fireship
@Fireship 5 жыл бұрын
I agree!
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 5 жыл бұрын
Thank u for this awesome video
@ricardo-emerson
@ricardo-emerson 5 жыл бұрын
What is the name of the background music you use in your videos?
@ajinkyatemak4434
@ajinkyatemak4434 4 жыл бұрын
Hey just wanted to know something from you. I heard a lot of people say that you should not deeply have sub-collections in firestore for efficiency. Is it right????
@jesselima_dev
@jesselima_dev 5 жыл бұрын
Great! I have been waiting for this!!!!!
@nemanjasubotin5465
@nemanjasubotin5465 5 жыл бұрын
Finally, great job Jeff ^_^
@panamaya
@panamaya 3 жыл бұрын
How do you a collectionGroup query limited to items under one node? For example, limited to comments made within chats of a particular organization.
@SH-dl4jk
@SH-dl4jk 4 жыл бұрын
Hi Jeff, does this appear in your master architecture course? And does this mean we no longer have to build up on the root collections list like we did before for easily searching relationship data? Or is there still a limitation here? Thanks
@gurubhai4918
@gurubhai4918 Жыл бұрын
I want to cater to multiple restaurant clients, should i crea one firestore database with one top level collection for each client or should I create one firestore database for each client? each restaurant admin/owner should see their unique dashboard when they login to the Android app
@googlable
@googlable 4 жыл бұрын
Can I get all subcollections of a certain set of documents, such that the documents appear in a list of *document IDs* that I provide? I.e. put a condition on the ID of the subcollection's parent document
@soullesessess
@soullesessess 4 жыл бұрын
Does it count as 1 read for each Group Query? Or it is depends on how many comments return from that query in this example?
@jefffrazier6813
@jefffrazier6813 5 жыл бұрын
Thanks Jeff. Now how about refactoring this for Flutter with Provider?
@utkarshbhimte7610
@utkarshbhimte7610 4 жыл бұрын
Great video, but if I have a query which gave me an array of comments of a post, Is there any way I can also get user data using the reference uid in the post? somewhat of a SQL join, or is that still impossible in Firestore?
@rafaelsantosferraz
@rafaelsantosferraz 5 жыл бұрын
Awesome video! Thank you. What you think is the biggest advantage of CollectionGroup over a normal Collection query. Isn't simple to mimic the same behavior with a top level Collection?
@TheShadowSuave
@TheShadowSuave 3 жыл бұрын
If I want to query common likes on an object in the db, between a user and users they follow, would this be the best way to go?
@teamrational6419
@teamrational6419 4 жыл бұрын
Is there a way by which I can put where clause in subcollection and get result of parent collection.
@norbertocaceres6710
@norbertocaceres6710 5 жыл бұрын
R u a saint?
@debkanchan
@debkanchan 5 жыл бұрын
Reads title *_YEET_*
@kevinrutledge9602
@kevinrutledge9602 5 жыл бұрын
I tried to copy your rules at 3:19 just to get it working and I get a series of errors that I am too unfamiliar with firestore rules to figure out what is wrong. Any help would be appreciated. Error saving rules - Line 9: Unexpected '=='.; Line 9: Missing 'match' keyword before path.; Line 9: mismatched input 'path' expecting '}'; Line 9: Missing 'match' keyword before path.; Line 10: mismatched input 'allow' expecting {'{', '/', PATH_SEGMENT}; Line 12: Unexpected '}'. rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if false } match /{path==**}/roles/{id} { allow read, write; } } }
@elmotareal
@elmotareal 3 жыл бұрын
in 2021, did they just remove it again from firebase? I can't find it
@Vedant-M
@Vedant-M Жыл бұрын
So there was a time when Jeff used to not sound like a robot. 😯
@Iustin.pericica
@Iustin.pericica 5 жыл бұрын
Do someone know how to make geolocation queries on subollection it would be very helpfl for me.. I ve tried geofirex but works just on collections... Please...
@eduardorabanal2803
@eduardorabanal2803 5 жыл бұрын
thank you very much bro, great video
@sanatanidotnetdharmaplatfo3991
@sanatanidotnetdharmaplatfo3991 3 жыл бұрын
Seems like a lot of people having the same problem hence so excited for this HAHAH
@indianspiritualitygyan7660
@indianspiritualitygyan7660 5 жыл бұрын
Thanks it helped alot
@jirehpadua304
@jirehpadua304 3 жыл бұрын
my brain is bleeding... haha! i guess i need to research more to understand... still, great vids... 😅
@JoboyJordan
@JoboyJordan 3 жыл бұрын
You didn't show the output in UI of .collectionGroup call. 😐 But still 🔥🔥...
@John-qt6qk
@John-qt6qk Жыл бұрын
How can I implement this in Android jecpack compose?
@manjeetkashyap5448
@manjeetkashyap5448 4 жыл бұрын
Can anyone please tell Either solutions for Shorting data using two child by set query
@zeniths823
@zeniths823 2 жыл бұрын
Make one with react
@indianspiritualitygyan7660
@indianspiritualitygyan7660 5 жыл бұрын
saved hell lot of time
@blissfulyogurt6143
@blissfulyogurt6143 2 жыл бұрын
Hello! If somebody has solved the issue of joins in firestore by any method so please forward us the code or logic or please explain me! Its really urgent and important. Thanks.
@sanatanidotnetdharmaplatfo3991
@sanatanidotnetdharmaplatfo3991 3 жыл бұрын
Awesome!
@heyyy4987
@heyyy4987 4 жыл бұрын
how do it this with vue?
@KumarSaptam
@KumarSaptam 2 жыл бұрын
Can you please create a firebase v9 migration guide.
@ArashBizhanzadeh
@ArashBizhanzadeh 5 жыл бұрын
Talking too fast. Consider that the audience trying to understand this
@blessingschishimbakalambai8574
@blessingschishimbakalambai8574 5 жыл бұрын
Was Here first...lol
@averageconsumer5374
@averageconsumer5374 4 жыл бұрын
Please slow down.
@ParamKeshkamat
@ParamKeshkamat 3 жыл бұрын
Every thing was great until he started using angular 😖
@bob-pk2ly
@bob-pk2ly 3 жыл бұрын
buh
Understanding Firestore queries - Firebase v9
13:21
Atomic Code
Рет қаралды 6 М.
Firestore Data Modeling - Five Cool Techniques
11:44
Fireship
Рет қаралды 255 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 18 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 31 МЛН
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 22 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 50 МЛН
100 Firebase Tips, Tricks, and Screw-ups
24:31
Fireship
Рет қаралды 187 М.
I built a $5 chat app with Pocketbase & Svelte. Will it scale?
13:34
Cloud Firestore Data Modeling (Google I/O'19)
40:37
Firebase
Рет қаралды 172 М.
SEO for Developers in 100 Seconds
11:52
Fireship
Рет қаралды 606 М.
Firestore Security Rules - How to Hack a Firebase App
10:05
Fireship
Рет қаралды 130 М.
Model Relational Data in Firestore NoSQL
9:13
Fireship
Рет қаралды 374 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 416 М.
Role-Based Authorization with Firestore
10:33
Fireship
Рет қаралды 116 М.
Advanced offline caching techniques in Cloud Firestore
12:34
Firebase
Рет қаралды 17 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 18 МЛН