Skip to content

Commit a5e1920

Browse files
authored
Update firestore.dart (#16)
1 parent ad4bbcb commit a5e1920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase_snippets_app/lib/snippets/firestore.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ class FirestoreSnippets extends DocSnippet {
847847

848848
void paginateData_addASimpleCursor2() {
849849
// [START paginate_data_add_a_simple_cursor2]
850-
db.collection("cities").orderBy("population").startAt([1000000]);
850+
db.collection("cities").orderBy("population").endAt([1000000]);
851851
// [END paginate_data_add_a_simple_cursor2]
852852
}
853853

0 commit comments

Comments
 (0)