Queries
Queries in Firelize work just like standard Firestore queries.
You can filter results using where
clauses and sort them with orderBy
.
If your query requires an index, Firelize will automatically display a link to create it in the Firebase Console.
Querying a Collection
Section titled “Querying a Collection”To query a collection, click the funnel icon above the listing.
This will open the query editor, where you can configure where
, orderBy
, and limit
clauses.
Once you’re ready, press Apply to execute the query.
Saving Queries
Section titled “Saving Queries”Firelize allows you to save queries for quick access later. To save a query:
- Create a query as you normally would.
- Instead of clicking Apply, click the Save Query button.
- Provide a name for your query when prompted and save it.
Saved queries are accessible via the star icon above the listing.
To update, rename, or delete a saved query, simply select it from the list and click on its name to return to the query editor.