Skip to content

Commit 86ba5ca

Browse files
committed
docs: fix refering to old version of doc
1 parent fa69a13 commit 86ba5ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/including-relationships.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ QueryBuilder::for(User::class)
169169

170170
## Selecting included fields
171171

172-
You can select only some fields to be included using the [`allowedFields` method on the query builder](https://spatie.be/docs/laravel-query-builder/v5/features/selecting-fields/).
172+
You can select only some fields to be included using the [`allowedFields` method on the query builder](https://spatie.be/docs/laravel-query-builder/v6/features/selecting-fields/).
173173

174174
⚠️ `allowedFields` must be called before `allowedIncludes`. Otherwise the query builder wont know what fields to include for the requested includes and an exception will be thrown.
175175

0 commit comments

Comments
 (0)