InterviewSolution
Saved Bookmarks
| 1. |
What is the use of the cursor() method in Laravel? |
|
Answer» The ELOQUENT CURSOR () method allows a USER to iterate through the database records USING a cursor, which will execute only a single query. This method is quite useful when processing large amounts of data to significantly reduce MEMORY usage. |
|