code: def _add_dophot_matches_to_database(
              self,
              dophotMatches,
              exposureIds):
          
          self.log.info(
              'starting the ``_add_dophot_matches_to_database`` method')
  
          insertList = []
          for d in dophotMatches:
              insertList += d
  
          dbSettings = self.settings["database settings"]["atlasMovers"]
  
          insert_list_of_dictionaries_into_database_tables(
              dbConn=self.atlasMoversDBConn,
              log=self.log,
              dictList=insertList,
              dbTableName="dophot_photometry",
              uniqueKeyList=["expname", "idx"],
              dateModified=True,
              batchSize=10000,
              replace=True,
              dbSettings=dbSettings
          )
  
          exps = []
          exps[:] = [e[0] for e in exposureIds]
  
          exps = ('","').join(exps)
  
          sqlQuery = """
  update atlas_exposures set dophot_match = 1 where dophot_match = 0 and expname in ("%(exps)s");
  update atlas_exposures set dophot_match = 2 where dophot_match = 1 and expname not in (select distinct expname from dophot_photometry);""" % locals(
          )
          writequery(
              log=self.log,
              sqlQuery=sqlQuery,
              dbConn=self.atlasMoversDBConn
          )
  
          self.log.info(
              'completed the ``_add_dophot_matches_to_database`` method')
          return None
docs: *add dophot matches to database*
  
          **Key Arguments:**
              - ``dophotMatches`` -- a list of lists of dophot matches
              - ``exposureIds`` -- the ATLAS exposure IDs these matches were found in
  
          **Return:**
              - None