code: def setAsSent(self, prekeyIds):
          
          for prekeyId in prekeyIds:
              q = "UPDATE prekeys SET sent_to_server = ? WHERE prekey_id = ?"
              cursor = self.dbConn.cursor()
              cursor.execute(q, (1, prekeyId))
          self.dbConn.commit()
docs: :param preKeyIds:
          :type preKeyIds: list
          :return:
          :rtype: