fix: typo QueySet -> QuerySet (#656)
Co-authored-by: Benjamin Mollier <benjamin.mollier@meetap.de>
This commit is contained in:
@ -168,7 +168,7 @@ Product.objects.filter(
|
|||||||
```
|
```
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so
|
All methods that do not return the rows explicitly returns a QuerySet instance so
|
||||||
you can chain them together
|
you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
@ -795,7 +795,7 @@ assert owner.toys[1].name == "Toy 1"
|
|||||||
```
|
```
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so
|
All methods that do not return the rows explicitly returns a QuerySet instance so
|
||||||
you can chain them together
|
you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
|
|||||||
@ -148,7 +148,7 @@ fields and the final `Models` are fetched for you.
|
|||||||
them in select_related.
|
them in select_related.
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so
|
All methods that do not return the rows explicitly returns a QuerySet instance so
|
||||||
you can chain them together
|
you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
@ -366,7 +366,7 @@ fields and the final `Models` are fetched for you.
|
|||||||
them in select_related.
|
them in select_related.
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so
|
All methods that do not return the rows explicitly returns a QuerySet instance so
|
||||||
you can chain them together
|
you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
|
|||||||
@ -69,7 +69,7 @@ tracks = await Track.objects.limit(1).all()
|
|||||||
```
|
```
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so you can chain them together
|
All methods that do not return the rows explicitly returns a QuerySet instance so you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ tracks = await Track.objects.offset(1).limit(1).all()
|
|||||||
```
|
```
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so you can chain them together
|
All methods that do not return the rows explicitly returns a QuerySet instance so you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
|
|
||||||
|
|||||||
@ -174,7 +174,7 @@ await Car.objects.select_related('manufacturer').fields({'id': ...,
|
|||||||
```
|
```
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so
|
All methods that do not return the rows explicitly returns a QuerySet instance so
|
||||||
you can chain them together
|
you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
@ -285,7 +285,7 @@ await Car.objects.select_related('manufacturer').exclude_fields([{'company': {'n
|
|||||||
excluded.
|
excluded.
|
||||||
|
|
||||||
!!!note
|
!!!note
|
||||||
All methods that do not return the rows explicitly returns a QueySet instance so
|
All methods that do not return the rows explicitly returns a QuerySet instance so
|
||||||
you can chain them together
|
you can chain them together
|
||||||
|
|
||||||
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
So operations like `filter()`, `select_related()`, `limit()` and `offset()` etc. can be chained.
|
||||||
|
|||||||
@ -141,7 +141,7 @@ album.signals.pre_save.disconnect(before_save)
|
|||||||
|
|
||||||
* bulk operations (`QuerySet.bulk_create` and `QuerySet.bulk_update`) as they are designed for speed.
|
* bulk operations (`QuerySet.bulk_create` and `QuerySet.bulk_update`) as they are designed for speed.
|
||||||
|
|
||||||
* queyset table level operations (`QuerySet.update` and `QuerySet.delete`) as they run on the underlying tables
|
* queryset table level operations (`QuerySet.update` and `QuerySet.delete`) as they run on the underlying tables
|
||||||
(more lak raw sql update/delete operations) and do not have specific instance.
|
(more lak raw sql update/delete operations) and do not have specific instance.
|
||||||
|
|
||||||
### pre_save
|
### pre_save
|
||||||
|
|||||||
Reference in New Issue
Block a user