If I have a collection with 1000 documents and I want to query the document inside that collection that has the field, 'name'
set to 'user01'. Does that finding count as 1000 reads ? If so is there a more cost effective way to do this.
Asked
Active
Viewed 39 times
0

user11877521
- 319
- 2
- 11

Tharusha Jayasooriya
- 141
- 1
- 8
1 Answers
1
You are charged for the number of documents returned by your query. If you query documents where("name", "==", "user01)"
and there are 45 documents out of those 1000 documents that match this, then you'll be charged 45 reads.

Dharmaraj
- 47,845
- 8
- 52
- 84