Skip to content

Commit 0560057

Browse files
authored
Merge pull request #951 from alipadron/patch-1
Add issue #175 link in selecting-fields.md
2 parents 8b4a330 + 6d29e56 commit 0560057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/selecting-fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ QueryBuilder::for(Post::class)
5151
// All posts will be fetched including _only_ the name of the author.
5252
```
5353

54-
⚠️ Keep in mind that the fields query will completely override the `SELECT` part of the query. This means that you'll need to manually specify any columns required for Eloquent relationships to work, in the above example `author.id`. See issue #175 as well.
54+
⚠️ Keep in mind that the fields query will completely override the `SELECT` part of the query. This means that you'll need to manually specify any columns required for Eloquent relationships to work, in the above example `author.id`. See issue [#175](https://github.com/spatie/laravel-query-builder/issues/175) as well.
5555

5656
⚠️ `allowedFields` must be called before `allowedIncludes`. Otherwise the query builder won't know what fields to include for the requested includes and an exception will be thrown.
5757

0 commit comments

Comments
 (0)