Skip to main content
CHANDRA KANT BAGHEL (Algoworks) 님이 #Collaboration에 질문했습니다
Hi All

 

Can you provide some pointers on how can we make an apex rest resource that can return millions of records either by single hit or by multiple hits?

 

The issues we are facing is :

 

If we try to return multiple records in single hit then we run into APEX:CPU TIME LIMIT and APEX:HEAP LIMIT errors.

 

If we try for chunks then the offset limit is only 2000 in apex.

 

If somebody have done this before they can share their approach.

 

or It would be also helpful if you can provide some concrete examples.

 

Thanks
답변 3개