diff --git a/docs/guide/querying.rst b/docs/guide/querying.rst index b23ea4d1..c454b6e8 100644 --- a/docs/guide/querying.rst +++ b/docs/guide/querying.rst @@ -5,8 +5,8 @@ Querying the database is used for accessing the objects in the database associated with the class. The :attr:`objects` attribute is actually a :class:`~mongoengine.queryset.QuerySetManager`, which creates and returns a new -a new :class:`~mongoengine.queryset.QuerySet` object on access. The -:class:`~mongoengine.queryset.QuerySet` object may may be iterated over to +:class:`~mongoengine.queryset.QuerySet` object on access. The +:class:`~mongoengine.queryset.QuerySet` object may be iterated over to fetch documents from the database:: # Prints out the names of all the users in the database @@ -498,4 +498,4 @@ cannot use the `$` syntax in keyword arguments it has been mapped to `S`:: .. note :: Currently only top level lists are handled, future versions of mongodb / pymongo plan to support nested positional operators. See `The $ positional - operator `_. \ No newline at end of file + operator `_.