Skip to content
Merged
Show file tree
Hide file tree
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: 1 addition & 1 deletion firestore-next/test.firestore.js
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ describe("firestore", () => {
const docSnap = await getDoc(doc(citiesRef, "SF"));

// Get all cities with a population bigger than San Francisco
const biggerThanSf = query(citiesRef, orderBy("popuation"), startAt(docSnap));
const biggerThanSf = query(citiesRef, orderBy("population"), startAt(docSnap));
// ...
// [END start_doc]
});
Expand Down
2 changes: 1 addition & 1 deletion snippets/firestore-next/test-firestore/start_doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ const citiesRef = collection(db, "cities");
const docSnap = await getDoc(doc(citiesRef, "SF"));

// Get all cities with a population bigger than San Francisco
const biggerThanSf = query(citiesRef, orderBy("popuation"), startAt(docSnap));
const biggerThanSf = query(citiesRef, orderBy("population"), startAt(docSnap));
// ...
// [END start_doc_modular]