FireO - Querying and filtering Data in Firestore

Azeem Haider - Oct 30 '19 - - Dev Community

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()
Enter fullscreen mode Exit fullscreen mode

The following query returns all the capital cities

cities = City.collection.filter('capital', '==', True).fetch()
Enter fullscreen mode Exit fullscreen mode

Read More About FireO Querying and Filtering

Give some good feedback and stars to FireO

. . . . . . .
Terabox Video Player