(self)
return self.__raw_result.get("upserted")
The _id of the inserted document if an upsert took place. Otherwise
        ``None``.
The _id of the inserted document if an upsert took place. Otherwise
        ``None``.
The _id of the inserted document if an upsert took place . Otherwise None .
def upserted_id(self):
        """The _id of the inserted document if an upsert took place. Otherwise
        ``None``.
        """
        self._raise_if_unacknowledged("upserted_id")
        return self.__raw_result.get("upserted")
def upserted_id ( self ) : self . _raise_if_unacknowledged ( "upserted_id" ) return self . __raw_result . get ( "upserted" )