fireorm
fireorm copied to clipboard
Support for BulkWriter
Hello, Is there any support for BulkWriter ? Thanks.
I wasn't aware of this API but you can use batches to do bulk writes/updates.
https://fireorm.js.org/#/Batches
On Fri, Oct 8, 2021 at 12:59 AM ojm-it @.***> wrote:
Hello, Is there any support for BulkWriter https://googleapis.dev/nodejs/firestore/latest/BulkWriter.html ? Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wovalle/fireorm/issues/279, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB35QJB2AW3WIJI3AU6PPU3UFYQ4BANCNFSM5FSK6GKQ .
--
Willy Ovalle
Bulkwriter is used to perform a large number of writes in parallel. It doesn't have the 500 docs limits, and it doesn't perform operations atomically.
It respects the 500/50/5 rule :
Start with up to 500 operations per second for a new collection, then increase traffic by 50% every five minutes.