|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, document) |
| def | __repr__ (self) |
| def | __eq__ (self, other) |
| def | __ne__ (self, other) |
Represents an insert_one operation.
| def __init__ | ( | self, | |
| document | |||
| ) |
Create an InsertOne instance.
For use with :meth:`~pymongo.collection.Collection.bulk_write`.
:Parameters:
- `document`: The document to insert. If the document is missing an
_id field one will be added.
| def __eq__ | ( | self, | |
| other | |||
| ) |
| def __ne__ | ( | self, | |
| other | |||
| ) |
| def __repr__ | ( | self | ) |