The problem with findAllDocuments

0 votes
Hi. Can not get more than 100 data when you call the findAllDocuments of StorageService. 
I want to get more than 100 data, Can you accept to do this?
asked Sep 12, 2014 in App42 Cloud API-BaaS by appwarp (20 points)
edited Sep 12, 2014 by appwarp

2 Answers

0 votes

Hello AppWarp,

Kindly use the FindAllDocument by Paging method for finding the document more than 100 records.

Let us know if it helps.

Thanks,

Himanshu Sharma

answered Sep 12, 2014 by hs00105 (2,005 points)
0 votes
We got a problem. 
 
Today, "FindAllDocument by Paging" you mentioned returns only 100 data. 
 
It worked well yesterday. 
Did you change the function? Please confirm. 
answered Oct 2, 2014 by appwarp (20 points)
FindAllDocuments and FindAllDocumentsByPaging returns max 100 records in single API call. If you have more than 100 records, you have to make use of FindAllDocumentsByPaging using offset and maxresult parameter to fetch it in chunk of 100 results. This will make your app scalable and responsive in case you have large number of documents.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...