OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | transform_incoming (self, son, collection) |
![]() | |
def | will_copy (self) |
def | transform_outgoing (self, son, collection) |
A son manipulator that adds the _id field if it is missing. .. versionchanged:: 2.7 ObjectIdInjector is no longer used by PyMongo, but remains in this module for backwards compatibility.
def transform_incoming | ( | self, | |
son, | |||
collection | |||
) |
Add an _id field if it is missing.
Reimplemented from SONManipulator.