Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

write operations in Firestore Database

Hi Comunity,  I have some questions about write operations in Firestore Database, can someone help me clear my questions?

1) I currently use subscription to Observables in my web application, thats Observables are pending data updates and new writes in the Firestore Data Base, the question is, when each Observable detects a change in the database, this change is taken and add in the read operations counter?

2) I am developing my web application in Angular, for user authentication I am using promise subscription with AngularFireAuth, for this case,  when each Observable detects a change on the promise return, this change is taken and add in the read operations counter?

Thanks, these questions are related to managing my Billable Metrics in Firestore Database... attentive I say goodbye

0 1 180
1 REPLY 1

When you listen to the results of a query, you are charged for a read each time a document in the result set is added or updated. [1] 

To help avoid unexpected charges on your bill, set monthly budgets, and alerts using Google Cloud's billing console. [2]

[1]:https://firebase.google.com/docs/firestore/pricing#listens 

[2]:https://firebase.google.com/docs/firestore/quotas#budget