1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Is there a way to batch read firebase documents

Discussão em 'Mobile' iniciado por Stack, Outubro 9, 2024 às 19:23.

  1. Stack

    Stack Membro Participativo

    I am making a mobile app using flutter with firebase as my backend.

    I have a collection of user document that stores user information. one of the fields is an array of references (reference documents in another collection) which I want to use in an operation like batch that in that would then allow be to read all the documents.

    I know batch only allows writes to the database, My second option would be Transaction, which requires writes after reads which I am trying to avoid.

    Is there a way to read multiple documents in one operation without having to use Transaction?

    Continue reading...

Compartilhe esta Página