Ask Your Question
2

Is there a limitation on the number of documents retrieved when using FirestoreListView?

asked 2022-02-24 11:00:00 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-05-28 22:00:00 +0000

huitzilopochtli gravatar image

Yes, there is a limitation on the number of documents retrieved when using FirestoreListView. By default, FirestoreListView loads a maximum of 15 documents at a time. However, you can increase or decrease this number by setting the "pageSize" parameter when creating the FirestoreListView. This parameter limits the number of documents that will be retrieved in each query to the database. If you want to retrieve more documents, you can implement pagination by using the "startAfter" method to fetch the next set of documents.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-02-24 11:00:00 +0000

Seen: 9 times

Last updated: May 28 '21