Skip to content

What value to use when selecting attributes in query? #131

Description

@rbruhn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions