Firestore Array Query

Firestore Array Query

Fireship

6 лет назад

62,212 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Fireship
@Fireship - 03.08.2018 20:14

Do you want to see more quick videos like this every week? Let me know with a comment...

Ответить
@zendraw3468
@zendraw3468 - 21.08.2022 03:08

i like bloodlines too.

Ответить
@condenzalbonia6673
@condenzalbonia6673 - 19.05.2022 02:16

A quick and clear video tutorial is a time saver

Ответить
@sibasishsarmah1005
@sibasishsarmah1005 - 16.03.2022 21:26

if i want to update cartC array with a new field which query i have to run.

Ответить
@josemanuelsalazarcarbajal3583
@josemanuelsalazarcarbajal3583 - 16.09.2021 21:12

What if i want to update one index and no all data of the array??? How can i make the query en Js??

Ответить
@anikethchavare
@anikethchavare - 20.05.2021 17:42

First of All, thanks a lot for your content, I appreciate it! Second, I tried looking for this in Android. Do you have any clue?

Ответить
@tcl98387
@tcl98387 - 11.05.2021 00:09

Very nice video. The way you say S is kind of frustrating :( please put a filter over your audio

Ответить
@mk9834
@mk9834 - 12.03.2021 19:17

helped me a ton

Ответить
@prathamsarankar780
@prathamsarankar780 - 04.02.2021 23:43

The array contains will see whether that element exists in the array or not! Isn't there any way I can specify a particular index also?

Ответить
@ThePieas
@ThePieas - 02.02.2021 16:25

Can we get all carts that has both bananas and la croix? Is it possible?

Ответить
@muhammadawais-dt8zc
@muhammadawais-dt8zc - 14.08.2020 02:49

Hi! I have got an array named participants and at 0 index i got 2 fields userId, secondUserId. I am using query .where('participants','array-contains', [this.userId,This secondUser']
Where userid and second users are defined with values help me please

Ответить
@patheally
@patheally - 15.04.2020 10:46

Whats the best way to look up a document and find just one value in the array? So i have doc xyz and i want to find abc amidst an array of unique values.

Ответить
@kronosDking
@kronosDking - 24.03.2020 21:59

This video is old but... How fast is this type of search?
Would it be faster to simply make a new binary field for each potential cart item?

Ответить
@devvaish8526
@devvaish8526 - 04.01.2020 15:33

ho to add that items array into firestore...what would be the query plz rply

Ответить
@ozcover7254
@ozcover7254 - 07.11.2019 19:00

Not Working where("row_id", "array-contains", row.row_id) my data row_id => { "0":"1" } not show any data

Ответить
@DedicatedLeon
@DedicatedLeon - 21.05.2019 01:44

Hello! With this is it possible to reduce / optimize the counting of documents read?

Ответить
@noumanmukhtar6572
@noumanmukhtar6572 - 06.04.2019 09:31

Why multiple array-contains is not supported? How i can apply multiple OR where clauses?

Ответить
@manuelmariscal7286
@manuelmariscal7286 - 12.03.2019 13:38

Hi thank you so much for the video! please i would like to know if you could do some example for Ionic 4 + Firestore, im stucked at arrays on fields inside doc...

Ответить
@bjdelatobjdelato7226
@bjdelatobjdelato7226 - 28.02.2019 03:55

Can you query documents with array-contains that have an array of objects?

Ответить
@guyllk
@guyllk - 12.01.2019 05:25

What if there is a object in the array...How would you get items then?

Ответить
@domknguyen
@domknguyen - 02.01.2019 20:44

Quick videos are best for digesting info! Keep up the great content!

Ответить
@chicagoboy279
@chicagoboy279 - 18.12.2018 06:40

Help me to upload an image and fetch it ( using both cloud Firestore and storage)

Ответить
@AdityaNaik12
@AdityaNaik12 - 13.11.2018 13:41

Hi, can you please explain what should i add in security rules.

Ответить
@tarounen
@tarounen - 05.11.2018 21:19

is there a way to filter the document first?
eg: firestore.collection('carts).doc('cartA') then apply the where?
to check only if cartA has banana?

Ответить
@londonguga
@londonguga - 16.10.2018 17:51

Great video! Thanks!! I see that you're comparing against a string. Is it possible to compare against an array of items? I Do you know why I can not use 'array-contains' more than once? When i run my code i have the following error: An error occured: Error: 3 INVALID_ARGUMENT:
A maximum of 1 'ARRAY_CONTAINS' filter is allowed. Thanks!!

Ответить
@MrMilandsm
@MrMilandsm - 14.10.2018 23:29

This is very helpful! You should pursue this further.

Ответить
@kumarvishalben
@kumarvishalben - 13.10.2018 15:11

What the heck is timestamp errors, and how to manage date and time,, please make a video

Ответить
@LawZist
@LawZist - 18.08.2018 00:06

good job , keep it short

Ответить
@RobertoDuransh
@RobertoDuransh - 10.08.2018 01:06

love this format... waiting for more videos like this

Ответить
@user-ot1dv6ri4f
@user-ot1dv6ri4f - 09.08.2018 23:59

These videos are great you should def add more per week

Ответить
@maharshiyeluri4289
@maharshiyeluri4289 - 09.08.2018 15:13

How to push data into the firebase array?

Ответить
@katdobermann
@katdobermann - 09.08.2018 14:05

Thanks for this timely video!

Ответить
@VinodKumarTBangalore
@VinodKumarTBangalore - 08.08.2018 07:41

I like the short video... !!!

Ответить
@pofesen
@pofesen - 07.08.2018 21:17

Great stuff, please let 'em short videos comin'...

Ответить
@marcionoronhacosta74
@marcionoronhacosta74 - 07.08.2018 16:15

Great Video!

Ответить
@JorgeJefersonFerreiraMontalvao
@JorgeJefersonFerreiraMontalvao - 06.08.2018 19:31

THANKS VERY MUCH! Long life to you, and keep helping dev like me with your videos. THANKS THANKS THANKS

Ответить
@uffecarlsson4509
@uffecarlsson4509 - 06.08.2018 13:03

Great. But can you please make a video about subcollection in documents. I struggle now with a calendar wich store each month in firestore, and for each day I store som info about that day, and a subcollection of all the avaailible times to book on that day!.. Is there o good way to go or is it nono ? :-)

Ответить
@Skia_
@Skia_ - 05.08.2018 21:48

sup Guru? :D
You my friend are a Legend!
Would you please release more Ngrx related content if possible?

Ответить
@harpymaslow
@harpymaslow - 05.08.2018 12:21

Great content as usual. I just updated firebase so I can use this new feature. I don't take the time to read the changelog of everything I use. If you do, please make short videos on big new features. That'd be great :) Cheers

Ответить
@anjumayoub9077
@anjumayoub9077 - 04.08.2018 15:58

your intro is awesome like your content how can we make like that 😍

Ответить
@christopherstock8670
@christopherstock8670 - 04.08.2018 13:32

Is it possible to use this new feature for arrays of objects?

Ответить
@joshchan5818
@joshchan5818 - 04.08.2018 11:44

Great video. But how about not contain fields in array? Thanks!

Ответить
@saiy2k
@saiy2k - 04.08.2018 07:51

Short videos of focused Topics are excellent :-)

Ответить
@SethuSenthil
@SethuSenthil - 04.08.2018 06:43

We need more videos like these

Ответить
@marcelobassanesi4439
@marcelobassanesi4439 - 04.08.2018 05:16

Your videos are great, I'm learning a lot, I'm thankful to have the support of your videos!
Sometimes it is hard to understand or I can't understand at all, so If could do a video that is more like a step by step it would help a lot

Ответить
@richharris3944
@richharris3944 - 04.08.2018 04:40

Very nice, like all formats but this is perfect for a quick Github Gist...Looks like Firestore docs have not been updated yet either.

Ответить
@wtannr
@wtannr - 04.08.2018 04:32

Yes. Quick videos.

Ответить