We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b30935 commit e29c2c3Copy full SHA for e29c2c3
firestore/main/index.js
@@ -587,7 +587,7 @@ async function queryAndFilter(db) {
587
const citiesRef = db.collection('cities');
588
589
// Create a query against the collection
590
- const allCapitalsRes = await citiesRef.where('capital', '==', true).get();
+ const allCapitalsRes = citiesRef.where('capital', '==', true);
591
// [END firestore_query_filter_eq_boolean]
592
593
// [START firestore_query_filter_single_examples]
0 commit comments