diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-06-13 09:22:30 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-06-13 09:53:30 +0200 |
| commit | f5cc6a888b60e0f79415cdd206cedbcc441eed82 (patch) | |
| tree | e85e37a137c0f4003cbb674e2e26ae959b2088e7 | |
| parent | 538616136be0f9c29f9122984a29e2c0a316958d (diff) | |
[5.2.x] Corrected jsonfield fieldlookup references.
Backport of 8e2249bc79a74d96f9ad20c89f82a89c78d4b648 from main.
| -rw-r--r-- | docs/topics/db/queries.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index a6819daf01..e1c70ba198 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -1311,7 +1311,7 @@ example: >>> Dog.objects.filter(data__has_key="owner") <QuerySet [<Dog: Meg>]> -.. fieldlookup:: jsonfield.has_any_keys +.. fieldlookup:: jsonfield.has_keys ``has_keys`` ~~~~~~~~~~~~ @@ -1328,7 +1328,7 @@ For example: >>> Dog.objects.filter(data__has_keys=["breed", "owner"]) <QuerySet [<Dog: Meg>]> -.. fieldlookup:: jsonfield.has_keys +.. fieldlookup:: jsonfield.has_any_keys ``has_any_keys`` ~~~~~~~~~~~~~~~~ |
