Fixed typo in docs/ref/models/expressions.txt.
This commit is contained in:
parent
2366100872
commit
5890d6ab03
|
@ -551,7 +551,7 @@ within the last day::
|
||||||
... post=OuterRef('pk'),
|
... post=OuterRef('pk'),
|
||||||
... created_at__gte=one_day_ago,
|
... created_at__gte=one_day_ago,
|
||||||
... )
|
... )
|
||||||
>>> Post.objects.annotate(recent_comment=Exists(recent_comments)
|
>>> Post.objects.annotate(recent_comment=Exists(recent_comments))
|
||||||
|
|
||||||
On PostgreSQL, the SQL looks like:
|
On PostgreSQL, the SQL looks like:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue