@@ -343,6 +343,8 @@ def get(self, *q_objs, **query):
343343 :class:`~mongoengine.queryset.MultipleObjectsReturned` or
344344 :class:`~mongoengine.queryset.DoesNotExist` exceptions if multiple or
345345 no results are found.
346+
347+ .. versionadded:: 0.3
346348 """
347349 self .__call__ (* q_objs , ** query )
348350 count = self .count ()
@@ -360,6 +362,8 @@ def get_or_create(self, *q_objs, **query):
360362 results are found. A new document will be created if the document
361363 doesn't exists; a dictionary of default values for the new document
362364 may be provided as a keyword argument called :attr:`defaults`.
365+
366+ .. versionadded:: 0.3
363367 """
364368 defaults = query .get ('defaults' , {})
365369 if 'defaults' in query :
@@ -406,6 +410,8 @@ def in_bulk(self, object_ids):
406410 :param object_ids: a list or tuple of ``ObjectId``\ s
407411 :rtype: dict of ObjectIds as keys and collection-specific
408412 Document subclasses as values.
413+
414+ .. versionadded:: 0.3
409415 """
410416 doc_map = {}
411417
@@ -428,6 +434,8 @@ def next(self):
428434
429435 def rewind (self ):
430436 """Rewind the cursor to its unevaluated state.
437+
438+ .. versionadded:: 0.3
431439 """
432440 self ._cursor .rewind ()
433441
@@ -470,7 +478,6 @@ def map_reduce(self, map_f, reduce_f, finalize_f=None, limit=None,
470478 PyMongo version **>= 1.2**.
471479
472480 .. versionadded:: 0.3
473-
474481 """
475482 from document import MapReduceDocument
476483
@@ -572,6 +579,8 @@ def only(self, *fields):
572579 post = BlogPost.objects(...).only("title")
573580
574581 :param fields: fields to include
582+
583+ .. versionadded:: 0.3
575584 """
576585 self ._loaded_fields = []
577586 for field in fields :
0 commit comments