Answer the question
In order to leave comments, you need to log in
How to optimize api request that uses lazy collection?
The problem is the following. Now one controller method uses lazy collection with pagination (there is no way to get rid of lazy collection yet). This method is accessed via api (from another domain). And when there are more than 50k records in the table, then the query returns an error
, which is understandable why this happens. Though if locally will address to this method that all norms. How can this problem be solved?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question