Laravelで、Eloquentクエリの実行後に最後にget()を実行すると、クエリ結果が配列で返されるのではなく、Illuminate\Database\Eloquent\Collectionオブジェクトで返されるため、集約関数なども使用可能になります。

#laravel

Reply to this note

Please Login to reply.

Discussion

No replies yet.