smallz
0
Q:

eloquent all get memoy

<?php 

use App\User;

# Wrong
$users = User::all();

# Right
$users = User::all(['id', 'name', 'email']);
0

New to Communities?

Join the community