firestore documentation pricing didn't mention the read on indexed data with where conditions..
if we have a collection (invoice) with 100K docs with fields like (date, number,amount)
and i did a query get().where('date' , '==', 20180404') is this will count the 100K or only returned docs?
thanks
Queries use indexes, they don't read every individual document. You'll get charged based on the number of documents returned, not on the size of the collection.
Also see Todd's answer here, which I'm actually going to mark your question as a duplicate of.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With