improve docstring related to #2267 and document the change in the changelog
This commit is contained in:
		| @@ -1026,9 +1026,11 @@ class BaseQuerySet(object): | ||||
|  | ||||
|             posts = BlogPost.objects(...).fields(comments=0) | ||||
|  | ||||
|         To retrieve a subrange of array elements: | ||||
|         To retrieve a subrange or sublist of array elements, | ||||
|         support exist for both the `slice` and `elemMatch` projection operator: | ||||
|  | ||||
|             posts = BlogPost.objects(...).fields(slice__comments=5) | ||||
|             posts = BlogPost.objects(...).fields(elemMatch__comments="test") | ||||
|  | ||||
|         :param kwargs: A set of keyword arguments identifying what to | ||||
|             include, exclude, or slice. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user