File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/firebase_snippets_app/lib/snippets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -673,14 +673,14 @@ class FirestoreSnippets extends DocSnippet {
673
673
void performSimpleAndCompoundQueries_inNotInArrayContainsAny () {
674
674
// [START perform_simple_and_compound_queries_in_not_in_array_contains_any]
675
675
final citiesRef = db.collection ("cities" );
676
- final cities = citiesRef.where ("regions " , whereIn: ["USA" , "Japan" ]);
676
+ final cities = citiesRef.where ("country " , whereIn: ["USA" , "Japan" ]);
677
677
// [END perform_simple_and_compound_queries_in_not_in_array_contains_any]
678
678
}
679
679
680
680
void performSimpleAndCompoundQueries_notIn () {
681
681
// [START perform_simple_and_compound_queries_not_in]
682
682
final citiesRef = db.collection ("cities" );
683
- final cities = citiesRef.where ("regions " , whereNotIn: ["USA" , "Japan" ]);
683
+ final cities = citiesRef.where ("country " , whereNotIn: ["USA" , "Japan" ]);
684
684
// [END perform_simple_and_compound_queries_not_in]
685
685
}
686
686
You can’t perform that action at this time.
0 commit comments