Build a bounded query
Add where clauses, ordering, and a limit while the project, database, and collection remain visible.
From query idea to working query
Compose filters, ordering, and limits visually, catch obvious conflicts, and use Firebase’s exact link when a composite index is missing.
Add where clauses, ordering, and a limit while the project, database, and collection remain visible.
Client-side preflight flags mismatched inequality ordering and likely composite-index requirements before or alongside the request.
When Firestore returns a missing-index error, verify the Firebase Console host and project before opening the exact generated definition.
Scope and limits