docs: def _query_ned_and_add_results_to_database(
              self,
              batchCount):
          """ query ned and add results to database
  
          **Key Arguments:**
              - ``batchCount`` - the index number of the batch sent to NED
  
          .. todo ::
  
              - update key arguments values and definitions with defaults
              - update return values and definitions
              - update usage examples and text
              - update docstring text
              - check sublime snippet exists
              - clip any useful text to docs mindmap
              - regenerate the docs and check redendering of this docstring
          """
          self.log.debug(
              'starting the ``_query_ned_and_add_results_to_database`` method')
  
          tableName = self.dbTableName
          # ASTROCALC UNIT CONVERTER OBJECT
          converter = unit_conversion(
              log=self.log
          )
  
          # QUERY NED WITH BATCH
          totalCount = len(self.theseIds)
          print "requesting metadata from NED for %(totalCount)s galaxies (batch %(batchCount)s)" % locals()
          search = namesearch(
              log=self.log,
              names=self.theseIds.keys(),
              quiet=True
          )
          results = search.get()
          print "results returned from ned -- starting to add to database" % locals()
  
          # CLEAN THE RETURNED DATA AND UPDATE DATABASE
          totalCount = len(results)
          count = 0
          sqlQuery = ""
          dictList = []
  
          colList = ["redshift_quality", "redshift", "hierarchy", "object_type", "major_diameter_arcmin", "morphology", "magnitude_filter",
                     "ned_notes", "eb_v", "raDeg", "radio_morphology", "activity_type", "minor_diameter_arcmin", "decDeg", "redshift_err", "in_ned"]
  
          if not len(results):
              for k, v in self.theseIds.iteritems():
                  dictList.append({
                      "in_ned": 0,
                      "primaryID": v
                  })
          for thisDict in results:
  
              thisDict["tableName"] = tableName
              count += 1
              for k, v in thisDict.iteritems():
                  if not v or len(v) == 0:
                      thisDict[k] = "null"
                  if k in ["major_diameter_arcmin", "minor_diameter_arcmin"] and (":" in v or "?" in v or "<" in v):
                      thisDict[k] = v.replace(":", "").replace(
                          "?", "").replace("<", "")
                  if isinstance(v, str) and '"' in v:
                      thisDict[k] = v.replace('"', '\\"')
              if "Input name not" not in thisDict["input_note"] and "Same object as" not in thisDict["input_note"]:
                  if thisDict["ra"] != "null" and thisDict["dec"] != "null":
                      thisDict["raDeg"] = converter.ra_sexegesimal_to_decimal(
                          ra=thisDict["ra"]
                      )
                      thisDict["decDeg"] = converter.dec_sexegesimal_to_decimal(
                          dec=thisDict["dec"]
                      )
                  else:
                      thisDict["raDeg"] = None
                      thisDict["decDeg"] = None
                  thisDict["in_ned"] = 1
                  thisDict["eb_v"] = thisDict["eb-v"]
  
                  row = {}
                  row["primary_ned_id"] = thisDict["input_name"]
  
                  try:
                      row["primaryID"] = self.theseIds[thisDict["input_name"]]
                      for c in colList:
                          if thisDict[c] == "null":
                              row[c] = None
                          else:
                              row[c] = thisDict[c]
                      dictList.append(row)
                  except:
                      g = thisDict["input_name"]
                      self.log.error(
                          "Cannot find database table %(tableName)s primaryID for '%(g)s'\n\n" % locals())
                      dictList.append({
                          "in_ned": 0,
                          "primary_ned_id": thisDict["input_name"]
                      })
  
              else:
                  dictList.append({
                      "primary_ned_id": thisDict["input_name"],
                      "in_ned": 0,
                      "primaryID": self.theseIds[thisDict["input_name"]]
                  })
  
          self.log.debug(
              'completed the ``_query_ned_and_add_results_to_database`` method')
          return dictList