def METHOD_NAME(self, result):
    """
    Stores the results of doNew method on the database.
    """
    for jobDict in result:
        resQuery = self.rmClient.addOrModifyJobCache(
            jobDict["Site"], jobDict["MaskStatus"], jobDict["Efficiency"], jobDict["Status"]
        )
        if not resQuery["OK"]:
            return resQuery
    return S_OK()