I have model Project which has some $appends and some relations like pages, brands, status etc.
And in $appends it has pages, and in Page model it has lot of other $appends. Now while I do Project::find($id) it retrieves project, it's pages and other models which belongs to Page.
And I havn't done with, so for each page it fires lots of queries.
Without using
DB::table('projects')->where('id', $id)->get();
Is there any better approach to load only Project model, no relation, no appends, nothing via Eloquent ?