Closed
Description
- Laravel Version: 5.3.6
- PHP Version: 5.6.15
- Database Driver & Version: Mysql 5.6.31
Description:
When using withCount() from eloquent Builder it ignores the $columns passed to the get() method and select all the columns.
Steps To Reproduce:
User::withCount('someRelation')->get(['id', 'name']);
Metadata
Metadata
Assignees
Labels
No labels