Skip to content

Commit e17fbfc

Browse files
authored
Update README.md
1 parent 60a4b94 commit e17fbfc

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $users = QueryBuilder::for(User::class)
2121
// all `User`s that contain the string "John" in their name
2222
```
2323

24-
[Read more about filtering features like: partial filters, exact filters, scope filters, custom filters, ignored values, default filter values, ...](https://docs.spatie.be/laravel-query-builder/v2/features/filtering/)
24+
[Read more about filtering features like: partial filters, exact filters, scope filters, custom filters, ignored values, default filter values, ...](https://docs.spatie.be/laravel-query-builder/v3/features/filtering/)
2525

2626
### Including relations based on a request: `/users?include=posts`:
2727

@@ -33,7 +33,7 @@ $users = QueryBuilder::for(User::class)
3333
// all `User`s with their `posts` loaded
3434
```
3535

36-
[Read more about include features like: including nested relationships, including relationship count, ...](https://docs.spatie.be/laravel-query-builder/v2/features/including-relationships/)
36+
[Read more about include features like: including nested relationships, including relationship count, ...](https://docs.spatie.be/laravel-query-builder/v3/features/including-relationships/)
3737

3838
### Sorting a query based on a request: `/users?sort=id`:
3939

@@ -45,7 +45,7 @@ $users = QueryBuilder::for(User::class)
4545
// all `User`s sorted by ascending id
4646
```
4747

48-
[Read more about sorting features like: custom sorts, sort direction, ...](https://docs.spatie.be/laravel-query-builder/v2/features/sorting/)
48+
[Read more about sorting features like: custom sorts, sort direction, ...](https://docs.spatie.be/laravel-query-builder/v3/features/sorting/)
4949

5050
### Works together nicely with existing queries:
5151

@@ -68,7 +68,7 @@ $users = QueryBuilder::for(User::class)
6868
// the fetched `User`s will only have their id & email set
6969
```
7070

71-
[Read more about selecting fields.](https://docs.spatie.be/laravel-query-builder/v2/features/selecting-fields/)
71+
[Read more about selecting fields.](https://docs.spatie.be/laravel-query-builder/v3/features/selecting-fields/)
7272

7373
### Appending attributes to a query: `/users?append=full_name`
7474

@@ -81,11 +81,7 @@ $users = QueryBuilder::for(User::class)
8181
// the resulting JSON will have the `getFullNameAttribute` attributes included
8282
```
8383

84-
[Read more about appending attributes.](https://docs.spatie.be/laravel-query-builder/v2/features/appending-attributes/)
85-
86-
## ⚠ Possible breaking changes from v2 to v3
87-
88-
Please check the [UPGRADING](UPGRADING.md) for some notes regarding upgrading from v2 to v3.
84+
[Read more about appending attributes.](https://docs.spatie.be/laravel-query-builder/v3/features/appending-attributes/)
8985

9086
## Support us
9187

@@ -105,7 +101,7 @@ You can install the package via composer:
105101
composer require spatie/laravel-query-builder
106102
```
107103

108-
Read the installation notes on the docs site: [https://docs.spatie.be/laravel-query-builder/v2/installation-setup](https://docs.spatie.be/laravel-query-builder/v2/installation-setup/).
104+
Read the installation notes on the docs site: [https://docs.spatie.be/laravel-query-builder/v3/installation-setup](https://docs.spatie.be/laravel-query-builder/v3/installation-setup/).
109105

110106
## Documentation
111107

0 commit comments

Comments
 (0)