Public Member Functions | |
def | transform_incoming |
def | will_copy |
A son manipulator that moves _id to the first position.
Definition at line 80 of file son_manipulator.py.
def pymongo::son_manipulator::ObjectIdShuffler::transform_incoming | ( | self, | ||
son, | ||||
collection | ||||
) |
Move _id to the front if it's there.
Reimplemented from pymongo::son_manipulator::SONManipulator.
Definition at line 89 of file son_manipulator.py.
def pymongo::son_manipulator::ObjectIdShuffler::will_copy | ( | self | ) |
We need to copy to be sure that we are dealing with SON, not a dict.
Reimplemented from pymongo::son_manipulator::SONManipulator.
Definition at line 84 of file son_manipulator.py.