how can i find get all hero data?

0 votes

Query q1 ="username", strName, Operator.EQUALS);

Query q2 ="curMyObjID", strCurMyOBJID, Operator.EQUALS);   

Query q3 = QueryBuilder.compoundOperator(q1, Operator.AND, q2);

storageService.findDocumentsByQuery(dbName,"Hero",q3, new App42CallBack() { 

    Storage  storage  = (Storage )response;  

    ArrayList<Storage.JSONDocument> jsonDocList = storage.getJsonDocList();   

    int nHeroSize = jsonDocList.size();



my hero data size is over 150 HeroSize.... but i get only 100 nHeroSize ....  i guess storageService max json data limit ....

how can i get all of hero data ?



asked May 11, 2016 in Announcements by exceeduniverse (10 points)

1 Answer

0 votes


Yes , there is a limitation on the number of documents which can be fetched in single go. You can use findDocumentsByQueryWithPaging API to get the data page-wise.

Please let me know if you have any other queries.

P.S. Max 100 records are allowed to find documents from App42 database in all methods.


answered May 12, 2016 by rajeev.etc (1,660 points)
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