Skip to content

Commit d0e7564

Browse files
authored
Merge pull request #2738 from bagerard/Document_string_operator_on_ListField
Document string operator on ListField
2 parents 22fa33e + 6a7a279 commit d0e7564

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/guide/querying.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ you could use the following query::
196196

197197
Page.objects(tags__0='db')
198198

199+
The string queries operators can be used as well for querying a list field, e.g.::
200+
201+
Page.objects(tags__iexact='db')
202+
199203
If you only want to fetch part of a list eg: you want to paginate a list, then
200204
the `slice` operator is required::
201205

0 commit comments

Comments
 (0)