DEV Community

Azeem Haider
Azeem Haider

Posted on

FireO - Querying and filtering Data in Firestore

FireO provides powerful query functionality for specifying which documents you want to retrieve from a collection. These queries can also be used with either get() or fetch()

Simple Queries

The following query returns all cities with state CA

cities = City.collection.filter('state', '==', 'CA').fetch()

The following query returns all the capital cities

cities = City.collection.filter('capital', '==', True).fetch()

Read More About FireO Querying and Filtering

Give some good feedback and stars to FireO

Top comments (0)