Thibaut De Maerteleire
Thibaut De Maerteleire

Reputation: 115

How can I add multiple docs with 1 write?

I wonder if somebody would know how I can add multiple docs to my collection in the firestore with only using 1 write. Because I have more than 20.000 records but I don't want to pay for firestore. Is there a possibility to add multiple docs in 1 write ?

Thanks in advance.

Upvotes: 1

Views: 39

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317372

It is not possible. Each document written costs 1 write. They can't be bundled together in an operation that is only billed a single write.

Upvotes: 1

Related Questions