Introduction
Firebase Firestore lets you store and get data easily, but it has some rules on how you can ask for data. These rules can stop you from getting exactly what you want in one go. Knowing these limits and how to work around them helps you build apps that get data smoothly.
When you want to get data filtered by multiple fields but Firestore says you need an index.
When you need to search for data using 'OR' conditions but Firestore only supports 'AND' in queries.
When you want to sort data by one field but also filter by another field that Firestore restricts.
When you want to get data with complex conditions but Firestore limits the number of filters.
When you want to combine results from different queries because Firestore does not support joins.