Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

125
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda