When performing a query selecting certain columns, what is used to call attachments. For example
Project::find(1, ['title', 'logo']);
The above throws an error. If I select (*) and use $project->logo->url() it works as expected. However, I don't want to select * on all my queries.
When performing a query selecting certain columns, what is used to call attachments. For example
The above throws an error. If I select (*) and use $project->logo->url() it works as expected. However, I don't want to select * on all my queries.