Skip to content

[Question] $relatedQuery returning array #155

@johanneslumpe

Description

@johanneslumpe

I just want to make sure that this is expected behavior: not matter what the relation type is, $relatedQuery always returns an array. Even for BelongsToOneRelation. Is there any way around this or do I have to explicitly call first()?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions