Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
How do I query a firebase collection by the 'not in' parameter with more than 10 values?

I have a contact list:

[
"abc"
"def"
]

and chat records that have the following format

from :"dpasha52"
to: "jbabu"
text: "some message"
timestamp :1 September 2021 at 17:57:02 UTC+5:30

I need to query firebase collection such that

===========>not in takes contact list

this.angf.collection('Chats', ref => ref.where('from',not in, ["","",""]).where('to','==',this.userinfo.name))
               .valueChanges();

the only problem is not in only allows 10 entries.

is there any way to include more than 10 entries?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

the only problem is not in only allows 10 entries

Yes, that is correct, you can only perform a query up to 10 entries.

How do I query a firebase collection by the 'not in' parameter with more than 10 values?

If you have more than 10 entries, then you should consider retrieving the entries in batches, and then process the entries that are coming from each separate query either sequentially or in parallel.

Is there any way to include more than 10 entries?

No, currently there isn't.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!