Skip to content

Revert "Fix small typos from previous PR" #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/firebase_snippets_app/lib/snippets/firestore.dart
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ class FirestoreSnippets extends DocSnippet {

void getDataOnce_getAllDocumentsInASubcollection() {
// [START get_data_once_get_all_documents_in_a_subcollection]
// [START firestore_query_subcollection]
db.collection("cities").doc("SF").collection("landmarks").get().then(
(querySnapshot) {
print("Successfully completed");
Expand All @@ -490,6 +491,7 @@ class FirestoreSnippets extends DocSnippet {
},
onError: (e) => print("Error completing: $e"),
);
// [END firestore_query_subcollection]
// [END get_data_once_get_all_documents_in_a_subcollection]
}

Expand Down