OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, inserted_ids, acknowledged) |
def | inserted_ids (self) |
![]() | |
def | __init__ (self, acknowledged) |
def | acknowledged (self) |
The return type for :meth:`~pymongo.collection.Collection.insert_many`.
def __init__ | ( | self, | |
inserted_ids, | |||
acknowledged | |||
) |
def inserted_ids | ( | self | ) |
A list of _ids of the inserted documents, in the order provided. .. note:: If ``False`` is passed for the `ordered` parameter to :meth:`~pymongo.collection.Collection.insert_many` the server may have inserted the documents in a different order than what is presented here.