0 votes
in Laravel by
What are collections?

1 Answer

0 votes
by

Collections in laravel are a wrapper over an array of data in Laravel. All of the responses from Eloquent ORM when we query data from the database are collections (Array of data records).

Collections give us handy methods over them to easily work with the data like looping over data or doing some operation on it.

Related questions

0 votes
asked Feb 3, 2020 in Salesforce by SakshiSharma
+2 votes
asked May 20, 2021 in POSTMAN by sharadyadav1986
...